Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
0
Found in
2021.3.27f1
2022.3.3f1
2023.1.1f1
Issue ID
UUM-40476
Regression
No
Crash on BackupState::MemoryIDToFileID::operator() when entering Play Mode
How to reproduce:
1. Open the attached project "VR_2023_II.zip"
2. Enter Play Mode
Reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.1f1
Could not test with: 2023.2.0a20 (compilation errors in the Console window)
Reproducible on: Windows 10
First few lines of the stack trace:
0x00007FFFF8456C10 (Unity) strncmp
0x00007FFFF5EDFF3A (Unity) BackupState::MemoryIDToFileID::operator()
0x00007FFFF5EF7D71 (Unity) IterateTypeTreeEx<IterateTypeTreeFunctorAdaptorBackupState::MemoryIDToFileID >
0x00007FFFF5F03A17 (Unity) SerializableManagedRefTransfer::Transfer<SerializableManagedRefBackupGenerator>
0x00007FFFF5FFC584 (Unity) SerializedFile::WriteObject
0x00007FFFF5FE6543 (Unity) PersistentManager::WriteFile
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Unity does not allow attaching a ScriptableObject to a Game Object. This is the reason why entering play mode crashes with the attached repro project. The UpdateData derives from a ScriptableObject and is attached to a game object.
Resolution Note (2023.1.X):
Unity does not allow attaching a ScriptableObject to a Game Object. This is the reason why entering play mode crashes with the attached repro project. The UpdateData derives from a ScriptableObject and is attached to a game object.