Problème avec les transitions de scènes sur Android

Bonjour à tous,

J’espère que vous pourrez m’aider avec un problème que je rencontre lors du développement de mon jeu Unity pour Android.

Le problème que je rencontre concerne les transitions de scènes. Sur mon ordinateur, tout fonctionne parfaitement, mais lorsque je teste mon jeu sur mon appareil Android, les transitions de scènes ne fonctionnent pas correctement. L’application semble se figer ou planter lors du passage d’une scène à l’autre.

J’ai déjà effectué des vérifications :

  • Vérification les logs : Aucune erreur majeure n’est signalée.

Je suis un peu bloqué et je ne sais pas par où commencer pour résoudre ce problème. Si quelqu’un a déjà rencontré un problème similaire ou a des suggestions sur ce que je pourrais vérifier ou essayer, je suis intéressé.

Merci d’avance pour votre aide !

Welcome! English forum here please!

Translated:

I hope you can help me with a problem I am having while developing my Unity game for Android.

The problem I’m having is with scene transitions. On my computer, everything works perfectly, but when I test my game on my Android device, scene transitions don’t work properly. App seems to freeze or crash when switching between scenes.

I have already checked:
Verification of the logs: No major error is reported.
I’m a bit stuck and I don’t know where to start to solve this problem. If anyone has had a similar problem before or has any suggestions on what I could check or try, I’m interested.


Some ideas: reimport all within Unity.

Another idea: search for loops in your code that do not yield / return:

Unity will lock up 100% of the time EVERY millisecond your scripting code is running.

Nothing will render, no input will be processed, no Debug.Log() will come out, no GameObjects or transforms will appear to update.

Absolutely NOTHING will happen… until your code either:

  • returns from whatever function it is running

  • yields from whatever coroutine it is running

As long as your code is looping, Unity isn’t going to do even a single frame of change. Nothing.

No exceptions.

“Yield early, yield often, yield like your game depends on it… it does!” - Kurt Dekker