Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.5f1
2022.1.7f1
2022.2.0a17
Issue ID
UUM-8477
Regression
No
Crash on UnsafeUtility_CUSTOM_MemSet when entering Play mode
Reproduction steps:
1. Open the user’s attached project “Eo Fusion 2022.zip“
2. Enter Play mode
3. Wait a few seconds
Expected results: The Editor does not crash
Actual results: The Editor crashes
Reproducible with: 2021.3.5f1, 2022.1.7f1, 2022.2.0a17
Could not test: 2020.3.35f1, 2023.1.0a2 - due to the project opening in safe mode
Reproduced on: Windows 10 Pro
Stack trace:
0x00007ff60029e549 (Unity) UnsafeUtility_CUSTOM_MemSet
0x00000295d2dc3fb8 (Mono JIT Code) (wrapper managed-to-native) Unity.Collections.LowLevel.Unsafe.UnsafeUtility:MemSet (void*,byte,long)
0x00000295d2dc3ed3 (Mono JIT Code) Unity.Collections.LowLevel.Unsafe.UnsafeUtility:MemClear (void*,long)
0x00000295d2dc3e8b (Mono JIT Code) \[Native.cs:31] Fusion.Native:MemClear (void*,int)
0x00000295d2e2c7db (Mono JIT Code) \[NetworkRunner.cs:2626] Fusion.NetworkRunner:InitializeNetworkObjectState (Fusion.NetworkObject,Fusion.NetworkRunner/AttachOptions)
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
This is not an issue in the Editor itself. A NetworkObject that is referencing invalid memory is attempting to write directly to the same invalid memory in an unsafe manner, so editor crashing (or random data corruption within the game, etc.) in this case is not an unexpected result. Likely a native resource's safety/lifetime issue exists within Fusion, or the code invoking it.