#Import URP and HDRP in same project cause an issue in Entities 1.0.0-pre47

1 messages · Page 1 of 1 (latest)

vestal ravine
#

Hi, in my project I'm using URP and HDRP, and theres an issue with Unity.Entities.Conversion.CompanionComponentSupportedTypes.

Error:
Library\PackageCache\com.unity.entities@1.0.0-pre.47\Unity.Entities.Hybrid.HybridComponents\CompanionComponentSupportedTypes.cs(41,20): error CS0104: 'DecalProjector' is an ambiguous reference between 'UnityEngine.Rendering.HighDefinition.DecalProjector' and 'UnityEngine.Rendering.Universal.DecalProjector'

I manage to resolve, adding a using on top of the CompanionComponentSupportedTypes:
#if HDRP_7_0_0_OR_NEWER
using DecalProjector = UnityEngine.Rendering.HighDefinition.DecalProjector;
using UnityEngine.Rendering.HighDefinition;
#endif

Any intentions to fix this problem soon?
Because any update of Entities, I need to delete entities in Packages folder, reimport on PackageManager, and move the new entities to Packages folder again.

vestal ravine
#

Any answer?

jovial mountain
#

This had been broken for ages, probably just need to create a bug report

#

And rely on a local copy for now with the fix