PlayMaker Help & Tips > Android Help

Load another scene then become dark scene/screen on Android Device

(1/2) > >>

rainexplorer:
Hi,

I'm using Unity 2017.4 (LTS) with PlayMaker version 1.9 (I'm not sure about the version because I see Playmaker cannot upgrade unless you're using Unity 2018 beyond).

Using Android Real Device, In the Game Main Menu, I can see all of the other menus, but when I choose any of them, I will go to the dark screen:



I'm sure on the main menu, it uses playmaker to load the scene.

Interestingly, this dark screen only happen on Android Device, because i test on Unity Editor it's run smoothly.

Any Idea to solve this issue?

jeanfabre:
Hi,

 funny, I am facing similar issues right now, IOS perfect, Unity Perfect, Android-> bug...

 I am not sure what is going on exactly on your end, nor on mine, but I suspect that internally memory or screen buffer is handled differently on android and it creates a different experience.

Does android get out of the drakscreen eventually? or is it stuck? if it's stuck it's a bug in your logic, but if it goes away, it's likely the scene loading process itself.

Bye,

 Jean

rainexplorer:

--- Quote from: jeanfabre on November 27, 2019, 01:21:58 AM ---Hi,

 funny, I am facing similar issues right now, IOS perfect, Unity Perfect, Android-> bug...

 I am not sure what is going on exactly on your end, nor on mine, but I suspect that internally memory or screen buffer is handled differently on android and it creates a different experience.

Does android get out of the drakscreen eventually? or is it stuck? if it's stuck it's a bug in your logic, but if it goes away, it's likely the scene loading process itself.

Bye,

 Jean

--- End quote ---

I get stuck in dark screen. How about yours, get stuck too?

so, any solution right now?

Do I need to migrate my project to Unity 2019.2?
so I can use latest playmaker plugin....

jeanfabre:
Hi,

 no, I don't get stuck, if you get stuck, you should check the android logs:

https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/

because something crashed on the scene you opened. have you tried to open that scene alone in android?

Bye,

 Jean

rainexplorer:

--- Quote from: jeanfabre on November 27, 2019, 08:07:20 AM ---Hi,

 no, I don't get stuck, if you get stuck, you should check the android logs:

https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/

because something crashed on the scene you opened. have you tried to open that scene alone in android?

Bye,

 Jean

--- End quote ---
I think my logic has no error, if yes why in Unity Editor is smooth?

However....finally, I can get debug log using another Android Device:

Do you have any idea regarding below log:


--- Quote ---12-03 16:31:11.662  3740  4021 D InputReader: Input event(4): value=0 when=30315905658000
12-03 16:31:11.662  3740  4021 D InputReader: Input event(4): value=0 when=30315905658000
12-03 16:31:11.662  3740  4021 I InputReader: Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=30315905658000
12-03 16:31:11.663  3740  4020 I InputDispatcher: Delivering touch to (32228): action: 0x1, toolType: 1
12-03 16:31:11.663 32228 32228 D ViewRootImpl@e12f2bd[UnityPlayerActivity]: ViewPostImeInputStage processPointer 1
12-03 16:31:11.664  3740  8496 D GameManagerService: identifyGamePackage. com.snowyenglish.flashcard
12-03 16:31:11.691 32228 32252 E Unity   : NullReferenceException: A null value was found where an object instance was required.
12-03 16:31:11.691 32228 32252 E Unity   :   at z_reward_ads.Update () [0x00000] in <filename unknown>:0
12-03 16:31:11.691 32228 32252 E Unity   : 
12-03 16:31:11.691 32228 32252 E Unity   : (Filename: currently not available on il2cpp Line: -1)
12-03 16:31:11.691 32228 32252 E Unity   :
12-03 16:31:11.733  3740  4064 D WifiStateMachine: Current network is: "My Wifi" , ID is: 0
12-03 16:31:11.749 32228 32252 E Unity   : NullReferenceException: A null value was found where an object instance was required.
12-03 16:31:11.749 32228 32252 E Unity   :   at z_ads.DestroyBanner () [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMaker.Actions.CallMethodAdvanced.DoMethodCall () [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMaker.Actions.CallMethodAdvanced.OnEnter () [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMaker.FsmState.OnEnter () [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMaker.Fsm.UpdateStateChanges () [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMaker.Fsm.DoTransition (HutongGames.PlayMaker.FsmTransition transition, Boolean isGlobal) [0x00000] in <filename unknown>:0
12-03 16:31:11.749 32228 32252 E Unity   :   at HutongGames.PlayMa
12-03 16:31:11.750 32228 32286 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
12-03 16:31:11.751 32228 32286 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
12-03 16:31:11.755 32228 32252 E Unity   : NullReferenceException: A null value was found where an object instance was required.
12-03 16:31:11.755 32228 32252 E Unity   :   at z_reward_ads.Update () [0x00000] in <filename unknown>:0
12-03 16:31:11.755 32228 32252 E Unity   : 
12-03 16:31:11.755 32228 32252 E Unity   : (Filename: currently not available on il2cpp Line: -1)
12-03 16:31:11.755 32228 32252 E Unity   :
12-03 16:31:11.766 32228 32301 D Unity   : Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
12-03 16:31:11.770 32228 32252 E Unity   : NullReferenceException: A null value was found where an object instance was required.
12-03 16:31:11.770 32228 32252 E Unity   :   at z_reward_ads.Update () [0x00000] in <filename unknown>:0
12-03 16:31:11.770 32228 32252 E Unity   : 
12-03 16:31:11.770 32228 32252 E Unity   : (Filename: currently not available on il2cpp Line: -1)
12-03 16:31:11.770 32228 32252 E Unity   :
12-03 16:31:11.815 32228 32252 D Unity   : UnloadTime: 13.926000 ms
12-03 16:31:11.834 32228 32252 D Unity   : System memory in use before: 35.6 MB.
12-03 16:31:11.852 32228 32252 D Unity   : System memory in use after: 35.7 MB.
12-03 16:31:11.852 32228 32252 D Unity   :
12-03 16:31:11.852 32228 32252 D Unity   : Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 2653.
12-03 16:31:11.852 32228 32252 D Unity   : Total: 18.633000 ms (FindLiveObjects: 1.035000 ms CreateObjectMapping: 0.496000 ms MarkObjects: 17.018000 ms  DeleteObjects: 0.079000 ms)
12-03 16:31:11.852 32228 32252 D Unity   :
12-03 16:31:11.963 26439 26458 D a       : App package: noapp

--- End quote ---


Navigation

[0] Message Index

[#] Next page

Go to full version