Search Issue Tracker
Fixed in 2017.2.X
Votes
34
Found in
5.6.0b5
Issue ID
875075
Regression
Yes
Compile error each time I load a custom package or plugin
Compile error is throw when importing custom packages or plugins. Also, same error is thrown when new script is created.
Compile error:
* Assertion at ..\mono\mini\unwind.c:616, condition `cfa_reg != -1' not met
Reproduction steps:
1. Change Windows locale to Arabic (Algeria) (also happens with Arabic (Syria) )
2. Create new Unity project
3. Create new C# script
Regression from 5.5
Fixed on 2017.1.0b6, 2017.2.0a1
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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Ali-Nagori
Apr 02, 2017 12:48
the issue seems to be linked to system local language , my is Arabic and i need to keep it that why since i need them and unity was ok with before this version.
this one needs to be fixed.
Rabee_Kiblawi
Apr 01, 2017 18:41
THANKS OKBA28MCA PROBLEM SOLVED !!
xMero
Apr 01, 2017 00:29
Same error after releasing . it make people won't upgrade there projects .
* Assertion at ..\mono\mini\unwind.c:620, condition `cfa_reg != -1' not met
moh13777
Mar 31, 2017 21:33
Same error!
okba28mca
Mar 31, 2017 16:22
With the help of Gytis Barkauskas from the unity QA team i solved it !
change the windows local to English : go to Control Panel -> Region -> Administrative tab
mine was set to Arabic after i changed it to English (US) now unity run my scripts just fine .
thanks to Gytis again for following up my case .
WinterboltGames
Mar 31, 2017 06:48
It happens to me when ever i do anything!
okba28mca
Mar 28, 2017 18:16
the same here ! unity don't compile the scripts and return this error
xCyborg
Mar 28, 2017 16:16
This error happens whenever a C# script is created, it looks like Unity is using Mono bleeding edge compiler for some reason.