Forum rules - please read before posting.

Player tiny in second scene in build only

edited November 2021 in Technical Q&A

I am having a strange build issue, if I start the scene or play in sequence in Unity the player is the correct size, however, in build in running this animation, he is miniscule. Once the animation is run the player is back to normal size.

See screenshots:

https://www.dropbox.com/sh/qt7hszmbc81fe7u/AACOdG-6DU_GI4OBnYfDyXP-a?dl=0

Comments

  • What is the character's scale when correct in the scene?

    Are you animating the scale as part of the animation, and is there still a difference if you prevent them from being re-scaled by a Sorting Map?

  • the correct scale in scene is 1 for sprite child, and 1.08 on start varying oon moving when normal animations (idle walk) - it stays the same when sleeping animation as when moving around.

    see here:

    https://www.dropbox.com/sh/0yrzlm3ps6vhnlo/AACJ13YFZivoXDjzk34TxSHfa?dl=0

  • Is there still a difference if you prevent the character from being re-scaled by a Sorting Map?

  • Do you mean to send a message to turn off the sorting map on the player prefab in scene?

  • I mean uncheck Affect Character size? in the Sorting Map Inspector as a temporary measure to see if it contributes to the issue.

  • So I did that and the player was tiny after the skewing animation. So I realised that the scene before was setting the player that size in its sorting map, so I made it the same size and shape as the bedroom scene, and voila; it worked!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.