Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.3
2019.3.13f1
2020.1
2020.2
Issue ID
1253630
Regression
No
Instantiating UI GameObjects from an Asset Bundle with WeakReference results in errors
How to reproduce:
1. Open submitted project (WeakReferenceTest.zip)
2. Open the Test Scene
3. Enter Play Mode
4. Click the 'test WeakReference' button
Expected result: no warnings or errors are thrown in the Console window
Actual result: multiple warnings and errors are thrown in the Console window
Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Resolution Note:
Unity currently does not support the use of weak references with loaded assets. We may add support for this usage in the future, but please avoid it for the time being.