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

IL2CPP

-

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

  1. Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.0b11

  2. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.16f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.18f1

Add comment

Log in to post comment