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

Mono

-

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

Comments (28)

  1. 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.

  2. Rabee_Kiblawi

    Apr 01, 2017 18:41

    THANKS OKBA28MCA PROBLEM SOLVED !!

  3. 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

  4. moh13777

    Mar 31, 2017 21:33

    Same error!

  5. 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 .

  6. WinterboltGames

    Mar 31, 2017 06:48

    It happens to me when ever i do anything!

  7. okba28mca

    Mar 28, 2017 18:16

    the same here ! unity don't compile the scripts and return this error

  8. 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.

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.