Forum rules - please read before posting.

Change rendering action no longer works

edited January 9 in Technical Q&A

After updating to 1.70, all my "Change rendering -> Set -> Sorting layer" actions stopped working. All I did was updated AC and update the Dialogue System bridge.

To try and isolate the issue further, I created a new project and imported only AC. I assigned the 2d demo managers, added a couple of sorting layers, and added a "Change rendering -> Set -> Is player (ticked)" action to the worm lookat interaction. Looking at the worm no longer changed Brain's sorting layer (nor the layer order, as further testing revealed).

Comments

  • Recreated. Open up FollowSortingMap.cs, and replace the two instances of:

    if (_renderer == null || sortingGroup == null) return;
    

    with:

    if (_renderer == null && sortingGroup == null) return;
    
  • Perfect, thank you!

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.
Do NOT follow this link or you will be banned from the site!