Logo Platform
logo amplifiers simplified
Humankind
Universe banner wording

Issue with Mod Tools

Reply
Copied to clipboard!
a year ago
Nov 13, 2022, 5:58:09 PM

I can't create a new project without getting crippling errors. On the second tab ('Content'), clicking on 'Override from Archives' doesn't work as it should: after loading data for a few seconds, a blank window opens with the title 'Override Element(s)' and nothing inside.


I tried installing the Mod Tools and the game on another computer and got the same results.


Loading an older project from roughly a year ago yields the same issues even though the data already in the project seems accessible.


Here are the errors I'm getting.


Is anyone getting those too ? If so, is there a known fix ?


Upon Unity Editor starting up a new project:


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (System.Object target) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventVariable simulationEventVariable) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.UpdateSimulationEventVariableUsage () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.OnValidate () (at <76f94774e362421081de3b4997b4965a>:0)

UnityEngine.AssetBundle:LoadAsset(String, Type)

Amplitude.Framework.Asset.AssetBundle:LoadAllMainAssetsOfType(String)

Amplitude.Framework.Asset.AssetDatabase:RegisterDatatableElementCollectionProvider(IAssetProvider)

Amplitude.Framework.Asset.AssetDatabase:Mount(IAssetProvider, Boolean)

Amplitude.Framework.Asset.AssetDatabase:TryMountAssetBundle(String, String, UInt32, IAssetProvider&, Options)

Amplitude.Mercury.Production.Modification.ModuleEditor:TryMountRequiredAssetBundle(String, AssetBundle&)

Amplitude.Mercury.Production.Modification.ModuleEditor:MountRequiredAssetBundlesIFN()

Amplitude.Mercury.Production.Modification.ModuleEditor:CheckPrerequisites()

Amplitude.Mercury.Production.Modification.ModuleEditor:Initialize()

Amplitude.Mercury.Production.Modification.ModuleEditor:OnEnable()

UnityEditor.EditorWindow:GetWindow()

Amplitude.Mercury.Production.Modification.ModuleEditor:OpenEditor()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (System.Object target) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventPrerequisite simulationEventPrerequisite) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventVariable simulationEventVariable) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.UpdateSimulationEventVariableUsage () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.OnValidate () (at <76f94774e362421081de3b4997b4965a>:0)

UnityEngine.AssetBundle:LoadAsset(String, Type)

Amplitude.Framework.Asset.AssetBundle:LoadAllMainAssetsOfType(String)

Amplitude.Framework.Asset.AssetDatabase:RegisterDatatableElementCollectionProvider(IAssetProvider)

Amplitude.Framework.Asset.AssetDatabase:Mount(IAssetProvider, Boolean)

Amplitude.Framework.Asset.AssetDatabase:TryMountAssetBundle(String, String, UInt32, IAssetProvider&, Options)

Amplitude.Mercury.Production.Modification.ModuleEditor:TryMountRequiredAssetBundle(String, AssetBundle&)

Amplitude.Mercury.Production.Modification.ModuleEditor:MountRequiredAssetBundlesIFN()

Amplitude.Mercury.Production.Modification.ModuleEditor:CheckPrerequisites()

Amplitude.Mercury.Production.Modification.ModuleEditor:Initialize()

Amplitude.Mercury.Production.Modification.ModuleEditor:OnEnable()

UnityEditor.EditorWindow:GetWindow()

Amplitude.Mercury.Production.Modification.ModuleEditor:OpenEditor()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (System.Object target) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventPrerequisite simulationEventPrerequisite) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.UpdateSimulationEventVariableUsage () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.OnValidate () (at <76f94774e362421081de3b4997b4965a>:0)

UnityEngine.AssetBundle:LoadAsset(String, Type)

Amplitude.Framework.Asset.AssetBundle:LoadAllMainAssetsOfType(String)

Amplitude.Framework.Asset.AssetDatabase:RegisterDatatableElementCollectionProvider(IAssetProvider)

Amplitude.Framework.Asset.AssetDatabase:Mount(IAssetProvider, Boolean)

Amplitude.Framework.Asset.AssetDatabase:TryMountAssetBundle(String, String, UInt32, IAssetProvider&, Options)

Amplitude.Mercury.Production.Modification.ModuleEditor:TryMountRequiredAssetBundle(String, AssetBundle&)

Amplitude.Mercury.Production.Modification.ModuleEditor:MountRequiredAssetBundlesIFN()

Amplitude.Mercury.Production.Modification.ModuleEditor:CheckPrerequisites()

Amplitude.Mercury.Production.Modification.ModuleEditor:Initialize()

Amplitude.Mercury.Production.Modification.ModuleEditor:OnEnable()

UnityEditor.EditorWindow:GetWindow()

Amplitude.Mercury.Production.Modification.ModuleEditor:OpenEditor()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


A scripted object (script unknown or not yet loaded) has a different serialization layout when loading. (Read 60 bytes but expected 20692 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


Upon starting up the database:


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (System.Object target) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventPrerequisite simulationEventPrerequisite) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventVariable simulationEventVariable) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.UpdateSimulationEventVariableUsage () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.OnValidate () (at <76f94774e362421081de3b4997b4965a>:0)

UnityEngine.AssetBundle:LoadAsset(String, Type)

Amplitude.Framework.Asset.AssetBundle:LoadAllMainAssetsOfType(String)

Amplitude.Framework.Asset.AssetDatabase:RegisterDatatableElementCollectionProvider(IAssetProvider)

Amplitude.Framework.Asset.AssetDatabase:Mount(IAssetProvider, Boolean)

Amplitude.Framework.Asset.AssetDatabase:TryMountAssetBundle(String, String, UInt32, IAssetProvider&, Options)

Amplitude.Mercury.Production.Modification.ModuleEditor:TryMountRequiredAssetBundle(String, AssetBundle&)

Amplitude.Mercury.Production.Modification.ModuleEditor:MountRequiredAssetBundlesIFN()

Amplitude.Mercury.Production.Modification.ModuleEditor:CheckPrerequisites()

Amplitude.Mercury.Production.Modification.ModuleEditor:Initialize()

Amplitude.Mercury.Production.Modification.ModuleEditor:OnEnable()

UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)

System.Reflection.MethodBase:Invoke(Object, Object[])

Amplitude.Mercury.Production.Modification.ModuleEditor:LoadDefaultLayout()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (System.Object target) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.EnumerateSimulationEventVariables (Amplitude.Mercury.Data.Simulation.SimulationEventPrerequisite simulationEventPrerequisite) (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.UpdateSimulationEventVariableUsage () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.OnValidate () (at <76f94774e362421081de3b4997b4965a>:0)

UnityEngine.AssetBundle:LoadAsset(String, Type)

Amplitude.Framework.Asset.AssetBundle:LoadAllMainAssetsOfType(String)

Amplitude.Framework.Asset.AssetDatabase:RegisterDatatableElementCollectionProvider(IAssetProvider)

Amplitude.Framework.Asset.AssetDatabase:Mount(IAssetProvider, Boolean)

Amplitude.Framework.Asset.AssetDatabase:TryMountAssetBundle(String, String, UInt32, IAssetProvider&, Options)

Amplitude.Mercury.Production.Modification.ModuleEditor:TryMountRequiredAssetBundle(String, AssetBundle&)

Amplitude.Mercury.Production.Modification.ModuleEditor:MountRequiredAssetBundlesIFN()

Amplitude.Mercury.Production.Modification.ModuleEditor:CheckPrerequisites()

Amplitude.Mercury.Production.Modification.ModuleEditor:Initialize()

Amplitude.Mercury.Production.Modification.ModuleEditor:OnEnable()

UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)

System.Reflection.MethodBase:Invoke(Object, Object[])

Amplitude.Mercury.Production.Modification.ModuleEditor:LoadDefaultLayout()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


After clicking on 'Override from Archives' and getting a blank 'Override Element(s)' window:


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventVariable_Collection.InitializeStaticStrings () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.SimulationEventTrigger.InitializeStaticStrings () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventTrigger.InitializeStaticStrings () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.Initialize () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Framework.DatatableScriptableElementCollection`1[T].LoadDatatableElements () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCollection`1[T].Initialize () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCache.BuildCache () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCache.BuildCacheIFN () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCache.GetDatatableElements (Amplitude.Framework.DatatableElementCollection datatableElementCollection) (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView.BuildRoot () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEngine.Debug:LogException(Exception)

Amplitude.Mercury.Production.Modification.TreeView:BuildRoot()

UnityEditor.IMGUI.Controls.TreeView:Reload()

Amplitude.Mercury.Production.Modification.TreeView:.ctor(TreeViewState, IAssetProvider, Predicate`1, Boolean)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow:BuildTreeViewIFN()

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow:OnEnable()

UnityEditor.EditorWindow:GetWindow(Boolean)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow:OpenWindow(IAssetProvider, Predicate`1)

Amplitude.Mercury.Production.Modification.ModuleEditor:ImportFromArchive()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Data.Simulation.NarrativeEventVariable_Collection.InitializeStaticStrings () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.SimulationEventTrigger.InitializeStaticStrings () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventTrigger.InitializeStaticStrings () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Mercury.Data.Simulation.NarrativeEventDefinition.Initialize () (at <76f94774e362421081de3b4997b4965a>:0)

Amplitude.Framework.DatatableScriptableElementCollection`1[T].LoadDatatableElements () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCollection`1[T].Initialize () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCache.BuildCache () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCache.BuildCacheIFN () (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Framework.DatatableElementCache.HasDatatableElementVariants (System.Type datatableElementType, Amplitude.StaticString datatableElementName) (at <63cd809ed4184ef496f04a56a6709ccb>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView.TreeViewItemCanBeImported (UnityEditor.IMGUI.Controls.TreeViewItem treeViewItem) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.PopulateItemImportState (Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState parentState, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState rootState, UnityEditor.IMGUI.Controls.TreeViewItem currentItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState.BuildItemImportState (UnityEditor.IMGUI.Controls.TreeViewItem rootItem, Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView+ItemImportState+CanBeImportedCallback canBeImported) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView.BuildRoot () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at <2919c21692194bd4aadcc86b58da6722>:0)

UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at <2919c21692194bd4aadcc86b58da6722>:0)

UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at <2919c21692194bd4aadcc86b58da6722>:0)

UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at <2919c21692194bd4aadcc86b58da6722>:0)

UnityEditor.IMGUI.Controls.TreeView.Reload () (at <2919c21692194bd4aadcc86b58da6722>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow+TreeView..ctor (UnityEditor.IMGUI.Controls.TreeViewState treeViewState, Amplitude.Framework.Asset.IAssetProvider assetProvider, System.Predicate`1[T] customRemoveAssetDescriptorPredicate, System.Boolean allowBulkImport) (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.BuildTreeViewIFN () (at <121ede6be1f64ec59ec907de00d81a41>:0)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnEnable () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.EditorWindow:GetWindow(Boolean)

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow:OpenWindow(IAssetProvider, Predicate`1)

Amplitude.Mercury.Production.Modification.ModuleEditor:ImportFromArchive()

UnityEditor.EditorApplication:Internal_CallDelayFunctions()


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

Rethrow as ImmediateModeException

UnityEngine.UIElements.UIR.RenderChain.Render () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.UpdateForRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <b2402a089b6342f69ac2b0aa0047472d>:0)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

Rethrow as ImmediateModeException

UnityEngine.UIElements.UIR.RenderChain.Render () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.UpdateForRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <b2402a089b6342f69ac2b0aa0047472d>:0)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

Rethrow as ImmediateModeException

UnityEngine.UIElements.UIR.RenderChain.Render () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.UpdateForRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <b2402a089b6342f69ac2b0aa0047472d>:0)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


NullReferenceException: Object reference not set to an instance of an object

Amplitude.Mercury.Production.Modification.ModuleImportUtilityWindow.OnGUI () (at <121ede6be1f64ec59ec907de00d81a41>:0)

UnityEditor.HostView.OldOnGUI () (at <2919c21692194bd4aadcc86b58da6722>: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 <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

Rethrow as ImmediateModeException

UnityEngine.UIElements.UIR.RenderChain.Render () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.UpdateForRepaint () (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <13f9cfbfcaea4d30a66e97eb510cfa62>:0)

UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <b2402a089b6342f69ac2b0aa0047472d>:0)

0Send private message
a year ago
Nov 14, 2022, 3:53:28 PM

The mod tools are outdated, we are working on an update, hopefully that should solve it.
But I have seen other modders that updated their mods, I will suggest to ask them directly (check on the discord, they have a channel to talk about it)

0Send private message
a year ago
Nov 14, 2022, 4:54:39 PM

Hi, thanks for your answer. Will try to reach out on Discord and try to find a fix while you work on the update. Cheers

0Send private message
a year ago
Jan 20, 2023, 11:40:58 PM

Since update yesterday, nothing will validate. Always with out of range exceptions when going through the descriptors definitions. In frustration I gradually paired down my mod to nothing, deleting all my work and it still wouldn't validate. Then I tried a new, empty mod... and it gets the same error. Lastly, I opened a previously working mod... same error.


Please help.

Error code is:

IndexOutOfRangeException: Index was outside the bounds of the array.
Amplitude.Framework.Simulation.Compiler.CompileDescriptors (Amplitude.Framework.Simulation.Description.Descriptor[] descriptors) (at <f199f28ec0674c949b78f5010e457121>:0)
Amplitude.Framework.Simulation.SimulationController.Compile () (at <f199f28ec0674c949b78f5010e457121>:0)
Amplitude.Mercury.Production.Editor.DatabaseChecker.CheckDatabases () (at <dfb26b97d3d3441cb025698471a6fd7d>:0)
Amplitude.Mercury.Production.Modification.ModuleEditor.ValidateContent () (at <dfb26b97d3d3441cb025698471a6fd7d>:0)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)


0Send private message
a year ago
Jan 21, 2023, 2:50:30 PM

Sandy, have you updated the modtools version in unity? you can do that by using the check or debug buttons (can't remember which is the one) in the main modtools window inside unity. Also, come join us at the Amplitude Official discord, we can help you much more promptly there: https://discord.com/invite/amplitude

0Send private message
a year ago
Jan 22, 2023, 12:30:20 AM

I couldn't find it in the menus but I spotted a yellow alert at the bottom of the [Mod Editor->1. Configuration] page that said it was out of date. Clicking on  that got the option to update the mod tools.

0Send private message
0Send private message
?

Click here to login

Reply
Comment
0Send private message