Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.3.4p4
Issue ID
810754
Regression
No
Casting from System.Action<String> to System.Action doesn't fail, instead throws a NullReferenceException when calling delegate
Steps to reproduce:
1. Open attached project (null_stripped.zip)
2. Open and play 'Test' scene
Expected behaviour: compilation error should be thrown because the cast from System.Action<String> to System.Action should not be possible.
Actual behaviour: The game starts without any errors. If you click the 'Print' button, a 'NullReferenceException' will be thrown instead.
------
The issue will be addressed as part of C# compiler upgrade effort.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
Add comment