Search Unity

"Fast but no exceptions" in Unity 2018 behaving same as "slow and safe"

Discussion in 'Editor & General Support' started by Mitnainartinarian, Jun 15, 2018.

  1. Mitnainartinarian

    Mitnainartinarian

    Joined:
    Jun 3, 2017
    Posts:
    16
    Has the "Fast but no exceptions" script call optimization changed in Unity 2018? In previous version when that option is selected an unhandled exception would cause a crash. In Unity 2018.1.4f1 an unhandled exception simply causes the app to continue, but with the current script not completing. This used to be the behavior when "slow and safe" was selected. I can reproduce this easily with a null-pointer exception, with the normal NullReferenceException output in logcat. This is for an Android app with the following settings:

    .NET 3.5 equivalent Scripting Runtime Version
    IL2CPP scripting backend
    .NET 2.0 subset Api Compatibility level
    Release C++ compiler config
    ARMv7 and x86 architecture