HDRP namespace issues
Hi,
I just bought and downloaded the new pointCloudViewer 3. I'm having some issues with the HDRP assemblies:
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
Adding the HDRP Runtime assembly fixes the errors.
ok thanks, ill check that!
btw. which was your unity version here?
hmm not sure but I think 6000.0.29
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 }