I have game objects that are moved by C# scripts. When I run in Editor mode, everything works fine. But when I do Ctrl B to run in Game mode, none of the object moves.
All of this just happened suddenly. Anyone has experienced this?
I have game objects that are moved by C# scripts. When I run in Editor mode, everything works fine. But when I do Ctrl B to run in Game mode, none of the object moves.
All of this just happened suddenly. Anyone has experienced this?
I guess “Game Mode” is a Build. There is a Game View, but not a Game Mode.
Do you use compiler directives to limit your code based on platform?
@longlac1972 Did you solve your problem? Echoing what @makaka-org mentioned - it could be because of directives! Can you post a screenshot of your script for user input?