Edit2:
Think I’ve found a somewhat better solution.
Go to Unity’s staging cache and locate ‘com.unity.entities@0.0.11’ folder.
In file ‘Unity.Transforms/HeadingSystem.cs’ change [UpdateAfter(typeof(TransformInputBarrier))] to [UpdateAfter(typeof(BarrierSystem))]
In file ‘Unity.Transforms/MoveForwardSystem.cs’ change [UpdateAfter(typeof(TransformInputBarrier))] to [UpdateAfter(typeof(BarrierSystem))]
In file ‘Unity.Entities.Editor/ExtraTypesProvider.cs’ change
‘using UnityEditor.Experimental.Build.Player;’ to ‘using UnityEditor.Build.Player;’
Delete TransformInputBarrier.cs
Zip up the ‘com.unity.entities@0.0.11’ folder so its easy to replace if it gets updated by Unity again.
Open Unity projects.
This appears to work, I can switch between two different projects without any console errors and the examples in stella3D cookbook appear to work, at least without any errors. However I never used 2018.1beta so have no frame of reference.
My assumption is that this works because ‘TransformInputBarrier’ simply inherits from BarrierSystem and has no other code. e.g ‘public class TransformInputBarrier : BarrierSystem {}’ is the only code in the file ( apart from namespace and usings). However I only scanned Unity.Transforms files, no idea if TransformInputBarrier is referenced from elsewhere.
Edit1:
Ok this is a bit weird, basically a few other classes reference this class ( even though its currently empty and just inherits from BarrierSystem), yet after entities package has been installed in cache and referenced by the Unity project and the meta error appearing in the console, you can go to the staging area and delete the file - then everything seems to work?
Not sure why as this shouldn’t work.
Indeed opening a new project that uses the same packages will cause errors as the file cant be found by the two files it needs, but restarting the whole process above will work again!
i.e.
Delete com.unity.entities@0.0.11 from staging area.
Install com.unity.entities@0.0.11 from packagemanager
Open Unity project
Once it reports the meta errors, delete TransformInputBarrier.cs
Fix the using error in ExtraTypesProvider.cs ( change using UnityEditor.Experimental.Build.Player; to
using UnityEditor.Build.Player; )
Go back into Unity and it should work. At least for the features i’ve tested.
Original post:
The actual class is empty, so I just deleted the file entirely - seemed to work with testing stella3d jobs cookbook project and I din’t get any compile errors.