[3.1.3] Remote Config not working at Android build

Android not working properly but working at Windows build. Before that it's always working properly but recently after service disruption, remote config starts to not working properly at android platform.

Android

[spoiler]

8334486--1095471--320f24d1-5504-4924-ac88-88fc2d26a26c.jpg

[/spoiler]

Windows

[spoiler]

8334486--1095468--upload_2022-8-4_0-6-26.png

[/spoiler]

[quote=“optimise”, post:1, topic: 890024]
Android not working properly but working at Windows build.
[/quote]Judging by that first image, the Authentication system did not initialise correctly (the two yellow warnings)

That is likely the issue as I believe Remote Config requires Authentication to work properly.

[quote=“PeachyPixels”, post:2, topic: 890024]
Judging by that first image, the Authentication system did not initialise correctly (the two yellow warnings)

That is likely the issue as I believe Remote Config requires Authentication to work properly.
[/quote]
I build both platforms with same project. I expect both platforms should work properly.

[quote=“optimise”, post:1, topic: 890024]
Android not working properly but working at Windows build. Before that it’s always working properly but recently after service disruption, remote config starts to not working properly at android platform.

Android

Windows

[/quote]
Please share the code that you are using.

1 Like

[quote=“JeffDUnity3D”, post:4, topic: 890024]
Please share the code that you are using.
[/quote]
Nvm. Now it’s fixed by official.

[quote=“optimise”, post:5, topic: 890024]
Nvm. Now it’s fixed by official.
[/quote]
Which official? In case others may across this thread and have a similar issue.

[quote=“JeffDUnity3D”, post:6, topic: 890024]
Which official? In case others may across this thread and have a similar issue.
[/quote]
I have the same issue. It works on my computer but it doesn’t work on my android phone.


Unity official. Before that with the same project it keep failing at Android. Now no longer have this issue.


Sorry, what do you mean by "Unity official" , do you mean a person at Unity assisted you?


Nope. My bug report IN-12292 still at Open status. What I want to say is currently it's working.

[quote=“optimise”, post:10, topic: 890024]
Nope. My bug report IN-12292 still at Open status. What I want to say is currently it’s working.
[/quote]
It still doesn’t work for me.


Sorry I'm still not following. So I understand that it is now correctly working for you, but what did you do to get it working? I looked at the bug report you mentioned and there are no updates.


Can you please try again? We did have a server issue for a short time, and I suspect that is what @optimise means, that it started working for them without making any changes.


Nope it still doesn't work. But it does work on my laptop.


Please describe your issue, and the code that you are using.


So, i want to live-update my game and it doesn't work on my smarthphone but it does work on my laptop. This is the tutorial that i followed to make the connection

https://www.youtube.com/watch?v=RL3-VY8runI

Do i need to share my code?

[quote=“woutpluym”, post:16, topic: 890024]
So, i want to live-update my game and it doesn’t work on my smarthphone but it does work on my laptop. This is the tutorial that i followed to make the connection

https://www.youtube.com/watch?v=RL3-VY8runI

Do i need to share my code?
[/quote]
What does “not not work” mean. How do you know it’s not working? Does the app not launch? Does the game start up and crash shortly thereafter? Does it freeze? Yes we need to see your RC code and steps to reproduce and how you are debugging on the device.

[quote=“JeffDUnity3D”, post:17, topic: 890024]
What does “not not work” mean. How do you know it’s not working? Does the app not launch? Does the game start up and crash shortly thereafter? Does it freeze? Yes we need to see your RC code and steps to reproduce and how you are debugging on the device.
[/quote]
So I have a Samsung Galaxy A41. Normally it should show the “maintenance” scene but it doesn’t work on my phone, it only shows the main menu. On my computer it does show the “maintenance” scene.
https://pastebin.com/gj9tS1hS

Reproduce:

  1. Change your build platform to android.
  2. Make an environment and paste the ID in the code.
  3. Make a key named test and maintenance. (test does nothing so you can remove it from the code if you want.)
  4. go to ConfigOrigin.remote and look at the code because you may need to change something.)

I also enabled USB-debugging on my phone.

[quote=“woutpluym”, post:18, topic: 890024]
So, i have a samsung galaxy a41. Normally it needs to show the scene “maintenance” but it doesn’t work on my phone.
It just shows the main menu. On my computer it does show the scene “maintenance”.
https://pastebin.com/gj9tS1hS
[/quote]
You are looking at behavior and not debugging. To find out why the correct scene isn’t showing, you will need to properly debug. Easiest way is to Debug.Log statements throughout your code and print out all your runtime variable values, they will show in the adb logcat logs. This should help https://discussions.unity.com/t/748729/14 and https://discussions.unity.com/t/699654 . You could also use the logcat package https://docs.unity3d.com/Packages/com.unity.mobile.android-logcat@0.1/manual/index.html

[quote=“optimise”, post:10, topic: 890024]
Nope. My bug report IN-12292 still at Open status. What I want to say is currently it’s working.
[/quote]
Do you have any updates? Can you share what you did to get it working?