I just tested to set up the ECS system with the new beta. Updated the maifest file and changed .net version.
I got this error message. Is there a different version of the ecs package in the manifest file needed?
From now. will improvements to the ECS and Job system be in 2018.2 betas or updates to 2018.1 ?
C:/ProgramData/Unity/cache/packages/staging-packages.unity.com/com.unity.entities@0.0.11/Unity.Entities.Editor/ExtraTypesProvider.cs(6,32): error CS0234: The type or namespace name `Build' does not exist in the namespace `UnityEditor.Experimental'. Are you missing an assembly reference?
I got this too. I think they moved Build.Player out of Experimental namespace which broke it.
I fixed this by navigating to folder C:\ProgramData\Unity\cache\packages\staging-packages.unity.com\com.unity.entities@0.0.11\Unity.Entities.Editor and changed ExtraTypesProvider.cs to not be read-only. Then I just changed the line 6 to:
That did it… Thank you!
The issue is the project. The build has indeed been moved out of experimental, but the project is still looking for experimental. Should be updated in github.
I can confirm the same issue on Mac starting with a new project, changing .NET version, and updating the manifest.
The same warning is reported and updating ExtraTypesProvider.cs as provided by @rz_0lento patches it. The location of this file on Mac is in your user Library/Unity/cache/… (the rest of the path) directory in case anyone else runs into this.
We released a new version of the samples and packages today which includes a fix for the namespace issue. So no more modifications required for that.
You can check out the details in this thread:
You haven’t needed to fix this manually for anything but the old version that was broken with 2018.2 on May. Try any recent version and they work just fine with 2018.2.