Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0f2
Issue ID
1055928
Regression
No
DontDestroyOnLoad destroys GameObject in the build when the game is built in Android
How to reproduce:
1. Open user's project
2. Play the scene
3. Type user: admin, password: admin and press Login
A new scene should load, you can see that username "admin" was saved and it is visible in the right top corner.
4. In user's project zip "case_1055928-ARTest.zip" you can find showEAT.apk, install it in Android device
5. Launch "showEAT" app, type user: admin, password: admin and press Login
Username is not visible in the top right corner.
Expected result: DontDestroyOnLoad does not destroy GameObject
Actual result: DontDestroyOnLoad does destroy GameObject
Reproducible with - 2018.3.0a4, 2018.2.0f1, 2018.1.7f1
Not reproducible with - 2017.4 and lower (Vuforia ExtensionImport.cs does not contain 'targetArchitectures')
Comments (1)
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
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
Fengkaihao
Nov 05, 2018 17:17
Can confirm 2018.1.7f1 having the same issue but not with an android build, but with the win86x standalone dev build. Was wondering why I got the bug, as I knew that this worked fine on earlier versions. So yea, reproduceable and doesn't seem to be just when building for android, but for standalone as well (probably every target platform).