Search Issue Tracker
Won't Fix
Votes
0
Found in
3.0.0b7
Issue ID
372926
Regression
No
Internal compiler error when using enum cast as nullable
To Reproduce:
1. Download and open the project: TestNullable_U3.zip
2. This line fails:
int? a = (int?)ManageFriendInviteAction.Action_1; // Does not work
Creating an object of type ManageFriendInviteAction and casting works fine:
int a = ManageFriendInviteAction.Action_1;
int? b = (int?)a; // Works
The error string is:
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Cannot remove an Audio Listener or Audio Source from a GameObject that has both plus an audio filter, even though the remaining audio component satisfies the filter's requirement
- Cannot remove an Audio Listener or Audio Source from a GameObject that has both plus an audio filter, even though the remaining audio component satisfies the filter's requirement
- Crash in AudioRandomContainerRuntime::CleanUpFinishedClipPlayables when pausing AudioListener
- GameObjects have a visible Distortion effect when using Transparent Shaders and Forced Depth Write on Apple Vision Pro
- [Cinemachine] TiltModifier missing [Serializable] attribute causes SerializeReference warning when adding Tilt modifier to CinemachineFreeLookModifier
Add comment