Forum rules - please read before posting.

Disabling player in 1.78

Hi

Since upgrading to 1.78 my player insists on moving when he should be disabled.

I have an action list that shows my main menu. It disables the player and movement. This hasn't changed since day 1 pretty much. Since upgrading from 1.77 to 1.78 the player can be moved around the screen despite being disabled.

https://drive.google.com/file/d/13yxpdRfGAwZpkx00pE5t-lFiqqPLQWsP/view?usp=sharing, https://drive.google.com/file/d/1V5BLRtqB2NZTqjn_IfbjDActUCZBHO2X/view?usp=sharing

There's a screenshot of the action and a video. The other actions in the actionlist are being actioned, so the list itself is working.

Any ideas? I do recall that there was an update to 1.78 (perhaps to .2) which mentioned something similar.

I'm now running 1.78.2 with unity 2022.3.4f1

Thanks

Olly

Comments

  • The video's too low-res for me to make out the "AC Status" box in the corner. What is it showing at the bottom? If Movement is disabled, it should read "Movement system disabled".

    Try running this Action manually in a separate Cutscene that only has this Action.

    If it then works, open up AC's StateHandler script and add the following to the bottom of its SetMovementSystem function (around line 837):

    Debug.Log ("Set movement: " + state);
    

    Then run the scene, and look for instances of this log. What appears, and when?

    I do recall that there was an update to 1.78 (perhaps to .2) which mentioned something similar.

    I can't see anything in the changelog along these lines - can you recall which one?

  • Thanks Chris. Will try that suggestion. The entry I was thinking of is this:
    https://drive.google.com/file/d/1-n2ZuCiNd0D2vutr9YsispoEEtbhoIWR/view?usp=sharing

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.