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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment