Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.2.0-exp.3 - Entities
Issue ID
ECSB-792
Regression
No
Burst errors in the Console when uninstalling and reinstalling Entities package
How to reproduce:
1. Create a new Unity project
2. Open Package Manager Window (Window -> Package Manager)
3. Click the "+" icon
4. Click "Install package from git URL" and install "com.unity.entities@1.2.0-pre.4" and "com.unity.entities.graphics@1.2.0-pre.4" packages
6. Remove all Entities packages
7. Reinstall only "com.unity.entities@1.2.0-pre.4" package again
8. Observe the Console window
Expected result: No errors in the Console window when reinstalling Entities package
Actual result: Burst errors appear in the Console window, errors unclearable
Reproducible with: 1.2.0-pre.4 (2023.3.0a17)
Reproduced on: Sonoma 14.1.1 (MacBook Pro, Apple M1 Max)
Error:
{code:java}
System.InvalidOperationException: Burst failed to compile the function pointer `Void __codegen__Retain(IntPtr)`
at Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Reflection.MethodInfo methodInfo, System.Boolean isFunctionPointer, System.Boolean isILPostProcessing) [0x0015a] in ./Library/PackageCache/com.unity.burst/Runtime/BurstCompiler.cs:462
at Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Boolean isFunctionPointer) [0x0001f] in ./Library/PackageCache/com.unity.burst/Runtime/BurstCompiler.cs:327
at Unity.Burst.BurstCompiler.CompileFunctionPointer[T] (T delegateMethod) [0x0000c] in ./Library/PackageCache/com.unity.burst/Runtime/BurstCompiler.cs:308
at Unity.Entities.TypeManager.SetIRefCounted_RetainFn (System.Int32 indexInTypeArray, Unity.Entities.IRefCounted+RefCountDelegate fn, System.Boolean burstCompile) [0x00003] in ./Library/PackageCache/com.unity.entities/Unity.Entities/Types/TypeManager.cs:2194
at Unity.Entities.TypeManager.GatherSharedComponentMethods (System.Collections.Generic.Dictionary`2[TKey,TValue] indexByType) [0x00047] in ./Library/PackageCache/com.unity.entities/Unity.Entities/Types/TypeManager.cs:2662
at Unity.Entities.TypeManager.InitializeAllComponentTypes () [0x001f4] in ./Library/PackageCache/com.unity.entities/Unity.Entities/Types/TypeManager.cs:2625
at Unity.Entities.TypeManager.Initialize () [0x001ff] in ./Library/PackageCache/com.unity.entities/Unity.Entities/Types/TypeManager.cs:1504
at Unity.Entities.BakingAnalytics..cctor () [0x00044] in ./Library/PackageCache/com.unity.entities/Unity.Entities.Hybrid/Baking/BakingAnalytics.cs:64
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[]) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorAssemblies.cs:126
{code}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Resolution Note:
We will not be addressing this.