Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.3.0b1
2020.1.0a1
Issue ID
1180341
Regression
Yes
When using obsolete [SerializePrivateVariables] attribute the Player crashes on startup
To reproduce:
1) Open the attached project and scene
2) Build and run it
CRASH!
Reproduced in Win 10 and Linux
Reproduced in 2019.3.0b1, 2019.3.0b2, 2020.1.0a1, 2020.1.0a2
Not reproduced in 2019.3.0a12, 2019.2.3f1
The file '/home/lukasd/Downloads/case_1180341-Test3D/56_Data/level0' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
(Filename: Line: 214)
Caught fatal signal - signo:5 code:-6 errno:0 addr:0x3e800003990
Obtained 16 stack frames.
#0 0x007f75af124c16 in DebugStringToFile(DebugStringToFileData const&)
#1 0x007f75aeab5b6c in CachedReader::OutOfBoundsError(unsigned long, unsigned long)
#2 0x007f75aeab5e1f in CachedReader::UpdateReadCache(void*, unsigned long)
#3 0x007f75aebdb349 in void Transfer_Blittable<StreamedBinaryRead, false, unsigned char>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&)
#4 0x007f75aebd9294 in void TransferScriptingObject<StreamedBinaryRead, false>(StreamedBinaryRead&, ScriptingObjectPtr, ScriptingClassPtr, SerializationCache::Data*&, ManagedReferencesRegistry*)
-
Talasas
Nov 17, 2021 10:13
Also seeing this issue in 2021.1.27f1 and we have no instances of [SerializePrivateVariables] attribute.
-
shubhamswaraj2021
Aug 21, 2020 05:56
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
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
- Mesh.GetIndexBuffer() requires Mesh's 'Read/Write' flag to be enabled to get its index buffer data in Builds
- [Backport] [Sprite Atlas V1] Editor crashes when calling SpriteAtlasUtility.PackAtlases
- Deterministic builds have different files when built from the same project
- PlayerBuildInterface.ExtraTypesProvider no longer provides types to IL2CPP
- Touch input is reset in Device Simulator when Unity Remote is killed
Resolution Note (fix version 2020.1):
Fixed by removing obsolete [SerializePrivateVariables] attribute