x


Changes not reflected in play mode

In edit mode, I moved around objects and in the Game tab I can see that the objects are in their correct positions, yet when I enter play mode, everything reverts back to where they were. Anyone know the cause?

more ▼

asked Dec 16 '11 at 01:32 AM

tbugrara gravatar image

tbugrara
36 4 7 8

I don't know the cause, but you could try saving your project and scene, shutting unity down, then opening it back up and trying again.
I haven't had the object's problem like you're having, but shutting unity down when it starts acting goofy usually does the trick for me.

Dec 16 '11 at 02:00 AM Lo0NuhtiK

Sounds like you have "in play mode" and "not in play mode" reversed. Because what you described is what happens when you stop play mode after making changes while in play mode.

Dec 16 '11 at 03:23 AM Eric5h5

I've tried restarting unity with no success, and yes I am aware of changes while in play mode are not reflected after leaving play mode. In this case, I am not in play mode when i make changes, yet when i enter play mode, the scene is not the same as while not in play mode. Really irritating.

Dec 17 '11 at 04:10 AM tbugrara

You might have scripts or animations on some objects that cause a translation / rotation of the object. A common mistake are animations that animate the root object. This will usually move the object to 0,0,0

Beside that it's hard to tell what's wrong. About what "changes" are you talking about?

Dec 17 '11 at 04:17 AM Bunny83

Ah, I removed the animation component from the offending objects that apparently were there and it works now! Thanks so much!

Dec 17 '11 at 05:56 AM tbugrara
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

From Bunny83:

You might have scripts or animations on some objects that cause a translation / rotation of the object. A common mistake are animations that animate the root object. This will usually move the object to 0,0,0

more ▼

answered Feb 28 '12 at 01:15 AM

tbugrara gravatar image

tbugrara
36 4 7 8

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1730
x517
x326

asked: Dec 16 '11 at 01:32 AM

Seen: 702 times

Last Updated: Feb 28 '12 at 01:15 AM