Search Issue Tracker

By Design

Votes

0

Found in

6000.0.53f1

6000.1.12f1

6000.2.0b10

6000.3.0a2

Issue ID

UUM-112715

Regression

No

[Android] Loading the asset using an old reference returns null even when the "FormerlySerializedAs" attribute is used

-

How to reproduce:
1. Open the “UnityBug.zip“ project
2. Open the “SampleScene“ scene
3. Build and Run for Android

Expected result: "Serialized material reference is NOT null." text shown on the screen
Actual result: “Serialized material reference is null“ text shown on the screen

Reproducible with: 2021.3.54f1, 2022.3.64f1, 6000.0.53f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2

Reproducible environment: macOS 15.4.1  (M4 Max), Windows 10 (Reporters)
Not reproducible environment: No other environment tested

Reproducible with these devices:
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00319, Google - (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00642, Google - (Pixel 9a), Android 15, CPU: NOT FOUND, GPU: Mali-G715

Notes:
- Not reproducible in the Editor
- Reproducible with both IL2CPP and Mono

  1. Resolution Note:

    FormerlySerializedAs is an editor only feature. See the documentation https://docs.unity3d.com/6000.1/Documentation/Manual/script-serialization-how-unity-uses.html

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.