Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.0.4

Issue ID

LOC-457

Regression

No

Localization Settings Asset causes NullReferenceException to be thrown when in Play mode

Package: Localization

-

How to reproduce:
1. Open the attached project (LocalizationTest.zip)
2. Open scene Scenes/SampleScene
3. Press the Play button
4. Observe the Console
5. Press the Play button again to exit Play mode
6. Observe the Console

Expected result: no errors are thrown to the Console
Actual result: NullReferenceException is thrown to the Console

Reproducible with: 1.0.0, 1.0.3, 1.0.4 (2019.4.0f1, 2019.4.13f1)
Not reproducible with: 1.0.0, 1.0.3, 1.0.4 (2019.4.14f1, 2019.4.32f1, 2020.3.21f1, 2021.1.27f1, 2021.2.1f1, 2022.1.0a13)

Notes: sometimes the error is thrown when entering Play mode, while other times it is thrown on exiting

  1. Resolution Note:

    This is a bug in Unity when handling SerializeReference. It can be fixed by updating to the latest patch version of the Unity Editor.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.