Search Issue Tracker

Won't Fix

Votes

0

Found in

3.5.6f4

Issue ID

506498

Regression

No

UnityScript: Accessing an enum value via an instance causes crash

Mono

-

To reproduce:
1. Open project SwitchBug
2. Select "testScene"
3. Select "testObject"

workaround:
Meanwhile, you can avoid this issue by referencing enumeration values from their types instead of from instances:
TestGameType.Survival instead of currentArea.game.Survival

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.