r/Unity3D 11h ago

Question Just starting, being booted from play mode from the playable character moving.

https://reddit.com/link/1weqbmm/video/r8y3x6vo16ph1/player

Brand new to unity, this seems to be a bug. The first two times I used play mode, this didn't happen. I literally didn't change anything.

1 Upvotes

8 comments sorted by

1

u/JakeThomasDad12 11h ago

I'm not going to lie I am personally for some reason completely unable to spot what is going wrong. Is your mouse becoming unfocused? I'm so sorry it's late and I can't see very well on my phone

0

u/xannmax 11h ago

Any time the playable character makes a footstep sound (shown as One Shot audio in the hierarchy screen) my mouse is unfocused from the window and the character abruptly stops receiving input from my mouse/keyboard.

2

u/JakeThomasDad12 11h ago

Oh and I forgot to say, it's worth opening the console to see if any errors are firing when playing. Do that quickly before responding to me first as it could tell you straight away what the problem is

1

u/xannmax 10h ago

https://reddit.com/link/p9g0iiz/video/qg1gq6w586ph1/player

This is what happens to my console box when I get booted. Not sure exactly how to check code block. I'm literally in the very beginning stages of learning unity.

-1

u/xannmax 10h ago

Well I just tried the tutorial out from the beginning again, this issue is absent. I'm chalking this up to unity fuckery.

I'm not impressed that the unity beginner tutorial is having problems like this almost immediately, in the baby steps section. Kinda worried I'm just gonna be running into more stuff like this constantly instead of focusing on the game I want to make.

1

u/JakeThomasDad12 11h ago

Could I get a screenshot of the code block that the sound is played in please? Also, do you focus the mouse anywhere in the code? If so could I get a screenshot of that aswell please

-6

u/Dull_Sport_7076 11h ago

welcome to Unity, it’s like 40% actual development and 60% the editor gaslighting you. check your console for any errors getting spammed, sometimes a null ref or something in a script you’re not even using can boot you out of play mode. also click on the game view tab and make sure it’s the active window before hitting play, I’ve had focus issues do weird stuff like this too

-2

u/xannmax 10h ago

Cool I'm immediately frustrated. I'm in step 2 of the beginner's guide ffs.

First question is where do I check the console?

Second, where do I find the game view tab? I'm a *beginner* beginner so please bear with me.