Search Issue Tracker
Fixed
Votes
0
Found in
5.3.4f1
Issue ID
821876
Regression
No
Null-coalescing operator returns only left-hand operand when used on public classes (which are set in Editor)
Reproduction steps:
1) Open "Null-coalescing operator.zip" project
2) Open "repro" scene
3) Make sure that "Main Camera" game object has attached Directional Light in "Some Not Null Object" and "Trans Not Null" fields
4) Enter playmode and check console
Expected result:
"newObj" and "transf" should not be null (as right-hand operand is not null)
Actual result:
"newObj" and "transf" objects are null
Comments (1)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
vinipc
Oct 22, 2016 21:06
So, this appears to be still happening on Unity 5.4.1, but ONLY in the Editor. Builds work fine.