Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.57f1
6000.0.37f1
6000.1.0b5
6000.2.0a2
Issue ID
UUM-96497
Regression
No
Crash on operator delete[] when Instantiating an Asset Bundle that references an another Asset Bundle with a MonoBehaviour
Reproduction steps:
1. Open the attached user's project "UnityTest_2022"
2. Build and Run the project
3. In the Player, Load Bundles 1, 2, 3
4. Instantiate 1, 2, 3
5. Destroy 1, 2, 3
6. Unload Bundles 2 and 3
7. Load Bundles 2 and 3
8. Instantiate 1, 2, 3
Expected result: The Assets get Instantiated and are visible in the Scene
Actual result: The Player crashes when Instantiating the 3rd Asset
Reproducible with: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2
Reproducible on: Windows 11 (User), MacOS 15.2 (Intel)
Not reproducible on: No other environment tested
Stacktrace:
#0 0x000001145dcc91 in operator delete[](void*, std::nothrow_t const&)
#1 0x000001145dd4fe in operator delete[](void*, std::nothrow_t const&)
#2 0x00000113bad850 in operator delete[](void*, std::nothrow_t const&)
#3 0x00000113badc65 in operator delete[](void*, std::nothrow_t const&)
#4 0x0000011386e372 in (Unknown)
#5 0x00000113db4efd in operator delete[](void*, std::nothrow_t const&)
#6 0x00000113dde3a6 in operator delete[](void*, std::nothrow_t const&)
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
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
Resolution Note:
Unloading an asset bundle that serves as a dependency for other asset bundles still in use can lead to undefined behavior. This includes serialization errors that may occur even if the dependency asset bundle is later reloaded. To avoid such issues, ensure that an asset bundle and all asset bundles that depend on it are unloaded together.
we are updating api docs and manual to clarify the usage.