Forum rules - please read before posting.

Sorting map not working in game but works in scene

Hi there. I have a problem with sorting map. It seems that player is ignoring it and does not change its order layer.
However when I start the scene on its own everything works fine. But when I play my game from start - main menu, tutorial, first level etc... When I enter second level player sprite has order layer set to 0 and thats it. It doesnt change at all in the whole scene.

Comments

  • Welcome to the community, @anderer455.

    What are your AC and Unity version numbers, and is the Console reporting anything related to the issue?

    Is your Player spawned into the scene, or are you relying on a Player object within the scene file itself? When the issue occurs, does your Player still have a Follow Sorting Map component attached, and do they ignore the Scale values as well?

    Try placing your Player prefab into the scene file itself, if not already, as that will override the one set in the Settings Manager.

    If you've used the Character: Change rendering Action to alter a spawned Player's rendering settings, those changes will be felt across scenes - is it possible you've used this Action to control the character in your main menu scene?

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.