UnityPointCloudViewer icon indicating copy to clipboard operation
UnityPointCloudViewer copied to clipboard

HDRP namespace issues

Open DriesVRBase opened this issue 8 months ago • 5 comments

Hi,

I just bought and downloaded the new pointCloudViewer 3. I'm having some issues with the HDRP assemblies:

Image

When I add the HDRP assembly myself everything works fine but the version define doesn't seem to be working out of the box. Any tips?

Dries

DriesVRBase avatar May 12 '25 13:05 DriesVRBase

Adding the HDRP Runtime assembly fixes the errors.

Image

DriesVRBase avatar May 12 '25 13:05 DriesVRBase

ok thanks, ill check that!

unitycoder avatar May 12 '25 13:05 unitycoder

btw. which was your unity version here?

unitycoder avatar Sep 13 '25 18:09 unitycoder

hmm not sure but I think 6000.0.29

DriesDeRidder avatar Sep 15 '25 09:09 DriesDeRidder

Ok found it and got it fixed. (will be included in next update).

TIL: can edit the asmdef file in text editor and add references manually (that are not in the project) and can set defineConstraint to that custom define, so it doesnt get any errors.

asmdef before: { "name": "AssemblyDefinitionHDRP", "rootNamespace": "", "references": [ "GUID:a1408bb86b7e92f48961c90e0988d665" ], "includePlatforms": [], "excludePlatforms": [], "allowUnsafeCode": false, "overrideReferences": false, "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [], "versionDefines": [ { "name": "com.unity.render-pipelines.high-definition", "expression": "[10.0,256.0]", "define": "HDRP_INSTALLED" } ], "noEngineReferences": false }

asmdef after: { "name": "AssemblyDefinitionHDRP", "rootNamespace": "", "references": [ "GUID:a1408bb86b7e92f48961c90e0988d665", "Unity.RenderPipelines.HighDefinition.Runtime" ], "includePlatforms": [], "excludePlatforms": [], "allowUnsafeCode": false, "overrideReferences": false, "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [ "HDRP_INSTALLED" ], "versionDefines": [ { "name": "com.unity.render-pipelines.high-definition", "expression": "[10.0.0,256.0.0)", "define": "HDRP_INSTALLED" } ], "noEngineReferences": false }

unitycoder avatar Sep 16 '25 19:09 unitycoder