summary/details:
for example I have 4 scenes
- log in scene
- loadingscreen scene
- main/home scene
- gameplay scene
goal is to logout account while in main/home or gameplay then load loadingscreen then proceed to login scene.
scenario#1 ~ logging out from main/home is working as fine (main/home>loadingscreen>login)
scenarion#2 ~ but this is where the issue begin, if I logout while in gameplay scene, it should be (gameplay>loadingscreen(**HANG/FREEZE**)>login)
the unity or the scene is not continuing to do the scripts or the game stopped functioning rather.
I also tried logging out from gameplay>login scene directly but still the issue is still the same.
add ons infromation:
- I did debug logs to check if the script is fine, it was fine and no errors and the debug logs shows to prove itwas loaded from that line or function.
sorry I can't post the actual code. I can do other way or sample if needed. Thanks in advance everyone~