Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2023.2.0a1
Issue ID
UUM-30141
Regression
No
NativeArray IsCreated returns true for objects that are disposed
How to reproduce:
1. Download and open the attached project
2. Enter "Play" mode
3. Observe the console window
Expected outcome: No errors appear
Actual outcome: "ObjectDisposedException: The Unity.Collections.NativeArray`1[System.Int32] has been deallocated, it is not allowed to access it" error appears
Reproducible with: 2020.3.45f1, 2021.3.18f1, 2022.2.6f1, 2023.1.0b3, 2023.2.0a1
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
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
- OS Notification Documentation is missing when following hyperlink in Notifications Settings in Hub
- Canvas Scaler sets local transforms (Position, Rotation, Scale) to 0 when Canvas is edited in Prefab Mode
Resolution Note:
This is an intentional design tradeoff.
Native Containers do not support disposal from multiple aliases. These containers aren't reference counted or version tracked outside of the editor. The requested use case would require extra data and logic in standalone player builds which could incur an unnecessary performance penalty.
Resolution Note (2023.2.X):
This is an intentional design tradeoff.
Native Containers do not support disposal from multiple aliases. These containers aren't reference counted or version tracked outside of the editor. The requested use case would require extra data and logic in standalone player builds which could incur an unnecessary performance penalty.