preview 24 The type or namespace name 'PositionProxy' could not be found

The offender is TransformComponentEditors.cs which is missing the using directive for Unity.Transforms. However adding it did not fix the error (not sure if it is actually saving as the package files are read only)

also erroring on RotationProxy in the same file.

uninstalling entities package and reinstalling resolved the error

arg, the files are there, but dont show up in unity :S

delete your cache

1 Like

had to reimport all, no amount of reinstalling entities package worked

Hi guys. Unfortunately I’m not able to reproduce this issue on 2019.1.0b4 with entities 0.0.12 preview.
Could you provide any additional information which may help us to identify the bottom of this issue?

  • Unity version
  • Entities package version
  • How you add package to your project
  • Any other steps you have performed
    Any of those information may be useful

i’m running 2018.3.6 ofiicial. I was upgrading my project from preview 23. Updated through package manager.
I had several hybrid GO entities with the position component attached. Though uninstalling resolved the initial error I wasn’t able to see the new position proxy component in editor (add component button) until i removed library folder and let unity rebuild it.

1 Like

Thanks a lot for this info:

I’ve reproduced this issue and will report it to developers.

2 Likes

This is also happening on 2018.3.4f1 - upgraded from preview 23 as well.

Version 2019.1.0b4 (fd0dda99e05a)
Thu, 14 Feb 2019 06:16:22 GMT
Branch: 2019.1/staging

com.unity.entities": “0.0.12-preview.24”
com.unity.collections": “0.0.9-preview.12”

I’ve added all packages via the package manager. No other steps performed. Still I get this error:

Library\PackageCache\com.unity.entities@0.0.12-preview.24\Unity.Transforms.Tests\TransformTests.cs(310,106): error CS0246: The type or namespace name ‘RotationProxy’ could not be found (are you missing a using directive or an assembly reference?)

Update: additional warning (maybe helpful):
GUID [0af0db853e732453799566a0e597993c] for asset ‘Packages/com.unity.entities/Unity.Transforms.Hybrid/PositionProxy.cs’ conflicts with:
‘Packages/com.unity.entities/Unity.Transforms/PositionComponent.cs’ (current owner)
We can’t assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

Update 2:
Deleted package cache, then it worked.

1 Like