Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.3.X, 2020.1.X
Votes
0
Found in
2018.4.0f1
2018.4.5f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1172835
Regression
No
Null reference exception is thrown when applying modified Button UI component property to prefab
How to reproduce:
1. Open attached project "cannot-apply-prefab_stripped3.zip" and scene "ui_Menu"
2. In Hierarchy window, select a child named "Btn_Purchase"
3. In Inspector window, right click on the "Button (Script)" -> "Modified Component" -> "Apply to prefab 'Screen_PremiumShop' "
4. Observe Console window
Expected result: the prefab modifications are applied
Actual result: errors are thrown
Reproducible with: 2018.4.5f1, 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Could not test with: 2017.4 due to old prefab system
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a1
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0a26
Resolution Note (fix version 2019.3):
Verified in:
Version 2019.3.9f1
Resolution Note (fix version 2018.4):
Verified in:
Version 2018.4.22f1