The ball is not picking the boxes when i build and run in on pc, but it picks up when i test in in unity window open. what is the bug/problem?

I have followed the tutorials and done the same thing as shown. When I build the game for pc and run it, the ball passes through the boxes and doesn’t pick em up. It does pick them up when i test it in the unity. Please tell me what is wrong.

After you’ve built and run the game check a file in the game_data folder called output_log.txt and look for any errors in there.

I have the same problem and try to deactivate any object if “OnTriggerEnter” function has called and the game run correctly …

edit: try to restart unity editor and build the project again, run correctly with me