Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
6
Found in
2019.3.0a2
2019.3.7f1
2020.1
2020.2
Issue ID
1232785
Regression
No
UnityLinker strips classes used with the SerializeReference attribute
How to reproduce:
1. Open user-submitted project (SerializableReferenceError.zip)
2. Build and run a Standalone player
3. Click the 'Spawn from Bundle' button that appears
Expected result: a cube is loaded from an Asset Bundle
Actual result: the player crashes
Reproducible with: 2019.3.0a2, 2019.3.8f1, 2020.1.0b4, 2020.2.0a5
Could not test with: 2017.4.32f1, 2018.4.8f1, 2019.2.5f1, 2019.3.0a1('SerializeReference' not implemented/inaccessible)
Notes:
The cube is loaded as expected in the Editor
Tested with macOS 10.15.3
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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0b11
Resolution Note (fix version 2020.1):
Fixed in 2020.1.16f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.18f1