Unity Issue Tracker - Multiple errors and warnings are spammed in the Console when importing Entities Graphics package with MinimalVehicleScene open
Closed
ECSB-1679
Multiple errors and warnings are spammed in the Console when importing Entities Graphics package with MinimalVehicleScene open
Package: Unity Vehicles
Won't Fix
0.1.X
We get the same errors when importing Entities Graphics package in any entities project, while a scene containing subscenes is opened in editor. This is unrelated to the vehicles package
Steps to reproduce:
1. Create new Unity project (URP Template)
2. Import com.unity.vehicles package package to the project
3. Import Minimal Vehicle Sample to the project
4. Open “MinimalVehicleScene.unity” scene
5. Import com.unity.entities.graphics package
6. Observe the Console window
Actual results: “AssertionException”, “NullReferenceException”, “ObjectDisposedException” errors are spammed in the console 999+ and “Ignoring invalid [Unity.Entities.UpdateBeforeAttribute] attribute on Unity.Rendering.DeformationsInPresentation targeting Unity.Rendering.EntitiesGraphicsSystem.” warnings thrown Expected results: No errors/warnings are spammed in the Console
Reproducible with versions: 0.1.0-exp.5 (6000.2.0b1)
Tested on (OS): MacBook Pro, 2021 (M1), Sequoia 15.4.1
Notes:
AssertionException: Compute shader for Unity.Rendering.SkinningDeformationSystem was not found!
AssertionException: Compute shader for Unity.Rendering.BlendShapeDeformationSystem was not found!
AssertionException: Compute shader for Unity.Rendering.InstantiateDeformationSystem was not found!
NullReferenceException: Object reference not set to an instance of an object
Unity.Rendering.SparseUploader..ctor (UnityEngine.GraphicsBuffer destinationBuffer, System.Int32 bufferChunkSize) (at ./Library/PackageCache/com.unity.entities.graphics@2264b12029b8/Unity.Entities.Graphics/SparseUploader.cs:556)
Unity.Rendering.EntitiesGraphicsSystem.OnCreate () (at ./Library/PackageCache/com.unity.entities.graphics@2264b12029b8/Unity.Entities.Graphics/EntitiesGraphicsSystem.cs:1067)
ObjectDisposedException: The UNKNOWN_OBJECT_TYPE has been deallocated, it is not allowed to access it
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrowNoEarlyOut (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) <0x4c4056470 + 0x0003f> in <640a588ae66d4cd6b47a0c54a2622bdd>:0
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Jobs/AtomicSafetyHandle.bindings.cs:195)
Warning: Ignoring invalid[Unity.Entities.UpdateBeforeAttribute] attribute on Unity.Rendering.DeformationsInPresentation targeting Unity.Rendering.EntitiesGraphicsSystem.
This attribute can only order systems that are members of the same ComponentSystemGroup instance.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?