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
2018.1.0f2
Issue ID
1034296
Regression
No
[IL2CPP] [.NET 4.6] NullReferenceException is not caught in an exception filter
To reproduce:
1. Open 'SmallProject'
2. Build and run Standalone with Mono scripting backend selected
3. Notice that no errors are thrown
4. Build and run for iOS or a Standalone with IL2CPP scripting backend selected
5. Notice that NullReferenceException is not caught in an exception filter and is thrown to console:
'NullReferenceException: Object reference not set to an instance of an object.
at TestScript.ExceptionFilter (System.Object x) [0x00000] in
<00000000000000000000000000000000>:0'
Reproduced: 2017.1.3p4, 2017.2.3f1, 2017.3.2f1, 2017.4.6f1, 2018.1.6f1, 2018.2.0b9, 2018.3.0a3
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
- Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
- Textures swap when SpriteRenderers with shared materials and animators are toggled on and off
- "EndLayoutGroup: BeginLayoutGroup must be called first" is thrown when selecting the wrong executable for the browser and then the right one
Resolution Note:
We're moving our tracking of new features in IL2CPP to an internal system, so this will take place at this time.