Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.2f1

Issue ID

923587

Regression

No

[Android] NullReferenceException when application is built with development mode turned off and Scripting Backend set to Mono

Android

-

To reproduce:

1. Download and open attached "bug2.zip" project.
2. Open Build settings, disable Development build option.
3. Build and run on a device.
4. Press the console button in top right corner to see the error.

Expected result: There are no errors in the console. 4 Debug.Log statements run and print information.
Actual result: NullReferenceExpection error pops up on object creation.

Reproduced with: 2017.2.0b1, 2017.1.0f2, 5.6.2p1, 5.5.4f1

Devices under test:

Verizon SM G930V*, OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 530,
Build:Verizon/heroqltevzw/heroqltevzw:6.0.1/MMB29M/G930VVRU2APG3:user/release-keys

Google Nexus 5X*, OS:7.1.2, CPU:arm64-v8a, GPU:Adreno (TM) 418,
Build:google/bullhead/bullhead:7.1.2/N2G47W/3938523:user/release-keys

Samsung SM G800F (Galaxy S5 Mini)*, OS:6.0.1, CPU:armeabi-v7a, GPU:Mali-400 MP,
Build:samsung/kminiltexx/kminilte:5.1.1/LMY47X/G800FXXU1BPC4:user/release-keys

Notes: Did not reproduce on iOS and Standalone builds. Did not reproduce with IL2CPP as Scripting backend. Reproduces only with Scripting Backend set to Mono. Script seems to fail at line 187 when first object is about to be created.

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.