I did not install anything new to the project and had not updated AC - am using latest version with Unity 6.3LTS. Last night, all interactions with corresponding actions were visible and working - today their actions are empty despite a message at bottom of editor indicating that they are locked but present.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Console:
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.'
Shader error in '': Parse error: syntax error, unexpected $end, expecting TOK_SHADER at line 1
This project uses Input Manager, which is marked for deprecation. To manage input in your project, use the Input System package instead.
GUI Error: Invalid GUILayout state in ActionListEditorWindow view. Verify that all layout Begin/End calls match
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
AC.ActionListEditorWindow.BottomToolbarGUI (System.Boolean isAsset) (at Assets/AdventureCreator/Scripts/ActionList/Editor/ActionListEditorWindow.cs:1201)
AC.ActionListEditorWindow.OnGUI () (at Assets/AdventureCreator/Scripts/ActionList/Editor/ActionListEditorWindow.cs:304)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <61339efb240547e991d3aef546e3afd3>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <61339efb240547e991d3aef546e3afd3>:0)
UnityEditor.DockArea.OldOnGUI () (at <61339efb240547e991d3aef546e3afd3>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at :0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPathWithCompatibilityEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.EventBase compatibilityEvt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at :0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElementOrElementUnderPointer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at :0)
UnityEngine.UIElements.PointerUpEvent.Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at :0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at :0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at :0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at :0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at :0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at :0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at :0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at :0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <18c42bc915574277ba4be2961379474d>:0)
Links to screenshots:
https://drive.google.com/file/d/1TL4xC8VYMs0R7uzTvv05XyN_lnGw8fez/view?usp=sharing
https://drive.google.com/file/d/1DCLrZ_1Msma3K3uhSVT1ER4uL6FYv0dx/view?usp=sharing
How odd! And this is occurring only for Interactions - or are any Cutscenes in the same scene also having this issue?
Don't save changes to this scene - make a copy and work in there. Do you have a recent backup?
Are you using any custom Actions? If not, you should be OK to PM the scene file to me - I'll take a look at this on my end.
I don't have any Cutscenes in the scene.
I've gone back several days in terms of backups and issue present in all of them.
How would I PM the scene to you?
Click my profile and then the "Message" button.
Backups of just the scene, or the whole project? You said earlier it was working the day previous - is this to say backups that previously worked are no longer?
Essentially the project was fine one day, the interactions were empty the next time I opened the project, and then opening project backups dating back 2+ days had the interactions also empty. I have project backups going back several weeks but didn't pursue opening them as I'd rather not have to redo work from that time.
Thanks for the file. Fortunately, it looks like much of the work can be restored through AC's automatic backup system. If you select an Interaction, and choose "Action data -> Restore" in the cog menu of its Inspector, the Actions should come back.
Did the project open with any scripting errors at the time the issue started? I'm not sure how this could have happened, not least without any other change going on in the project. If possible, I'd recommend relying on version control as an additional form of backup.
My cog menu does not offer the Restore option. Link: https://drive.google.com/file/d/1DwndsNPlzgL287MyHnEtIgvzyEBDYKsl/view?usp=sharing
Anyway, manually fixing the remaining interactions isn't that difficult, and I'm using version control now. I appreciate that you took a look at my file. Really enjoy what you are doing supporting Adventure Creator.