Forum rules - please read before posting.

Multiple compile errors in ActionSpeech.cs after updating to 1.86.2

edited May 19 in Technical Q&A

Hi,
I just updated from 1.86.1 to 1.86.2 and got 5 compile errors plus a couple of warnings. I haven't modified any AC scripts myself, so this is a clean update on a working project.
Here are the messages:

    Errors:
    Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs(81,76): error CS0103: The name 'newHashSet' does not exist in the current context
    Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs(82,78): error CS0103: The name 'newHashSet' does not exist in the current context
    Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs(955,9): error CS0815: Cannot assign void to an implicitly-typed variable
    Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs(961,10): error CS0815: Cannot assign void to an implicitly-typed variable
    Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs(1245,34): error CS0103: The name 'lipSyncHandles' does not exist in the current context

    Warnings:
    Assets/AdventureCreator/Scripts/ActionList/Editor/ActionListAssetEditor.cs(602,38): warning CS0618: 'EditorUtility.InstanceIDToObject(int)' is obsolete: 'InstanceIDToObject(int) is obsolete. Use EditorUtility.EntityIdToObject instead.'
    Assets/AdventureCreator/Scripts/Managers/Editor/ManagerPackageEditor.cs(48,36): warning CS0618: 'EditorUtility.InstanceIDToObject(int)' is obsolete: 'InstanceIDToObject(int) is obsolete. Use EditorUtility.EntityIdToObject instead.'
    Problem detected while importing the Prefab file: 'Assets/AdventureCreator/Prefabs/Automatic/MainCamera.prefab'.
    The file might be corrupt or have a missing Variant parent or nested Prefabs. See details below.
    Warnings:
        Component at index 2 could not be loaded when loading game object 'MainCamera'. Removing it.

I did some research but decided not to edit AC scripts directly. Could I get some advice on these issues?
Thank you!

Unity version: 6.3 LTS

Comments

  • Oh dear. So sorry about that - looks like an issue that only occurs if you also have the Addressables package present.

    I've just pushed an v1.86.3 update that fixes this - it should be available shortly. Thanks for the bug report!

  • Thanks so much for jumping on this! No worries at all. I had a backup and was on Git, so I could roll back. Adventure Creator has been a game changer for me, truly grateful for all your updates!

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.