Game with TimberAPI won't start
Closed this issue · 1 comments
Starting the game in Experimental mode (v0.4.4.0-d7e1319-xsw) with TimberAPI 0.5.3. will get stuck at black screen after startup. This is the exception stacktrace from Bepinex and contents of file TimberApiLoadException
EDIT - no other mods are used
TimberApiLoadException
System.IO.FileNotFoundException: Could not load file or assembly 'Timberborn.MasterScene, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'Timberborn.MasterScene, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
at TimberApi.Core.BootstrapSystem.TimberApiBootstrapSystemConfigurator.Awake () [0x00015] in <72ac9c4f83894ca99a34af349ed6617a>:0
Bepinex log
[Message: BepInEx] BepInEx 5.4.21.0 - Timberborn (03.05.2023 8:41:43)
[Info : BepInEx] Running under Unity v2022.2.11.6429910
[Info : BepInEx] CLR runtime version: 4.0.30319.42000
[Info : BepInEx] Supports SRE: True
[Info : BepInEx] System platform: Bits64, Windows
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.21.0]
[Info : BepInEx] 1 patcher plugin loaded
[Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message: BepInEx] Preloader finished
[Message: BepInEx] Chainloader ready
[Message: BepInEx] Chainloader started
[Info : BepInEx] 1 plugins to load
[Info : BepInEx] Loading [TimberAPI BepInEx Entrypoint 1.0.0]
[Message: BepInEx] Chainloader startup complete
[Error : Unity Log] FileNotFoundException: Could not load file or assembly 'Timberborn.MasterScene, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Stack trace:
TimberApi.Core.BootstrapSystem.TimberApiBootstrapSystemConfigurator.Awake () (at <72ac9c4f83894ca99a34af349ed6617a>:0)
UnityEngine.GameObject:AddComponent()
TimberApi.Core.Startup:Run()
System.Reflection.MethodBase:Invoke(Object, Object[])
TimberApi.BepInExPlugin.Loader.BaseStartupLoader:LoadAndInitializeCoreStartup()
TimberApi.BepInExPlugin.Loader.BepInExStartupLoader:Run(String)
TimberApi.BepInExPlugin.Loader.TimberApiPluginEntrypoint:GameStartLoggerLogPatch()
Timberborn.Core.GameStartLogger:DMDTimberborn.Core.GameStartLogger::Log()
[Info : Unity Log] Starting game version 0.4.4.0-d7e1319-xsw
[Info : Unity Log] System info:
System: Windows 10 (10.0.19045) 64bit
CPU: AMD Ryzen 5 5600X 6-Core Processor
GPU: NVIDIA GeForce GTX 1060 6GB
GPU memory: 6043MB
RAM: 32694MB
Drives:
C:\ 112.38GB free from 465.15GB
D:\ 52.05GB free from 231.84GB
E:\ 245.36GB free from 931.51GB
Z:\ 0.52GB free from 0.54GB
[Info : Unity Log] Modded: true, BepInEx
[Error : Unity Log] FileNotFoundException: Could not load file or assembly 'Timberborn.FactionSystemGame, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Stack trace:
System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) (at <27586baf39bf4babbfd8a2caabe8e228>:0)
System.Reflection.RuntimeMethodInfo.GetPseudoCustomAttributes () (at <27586baf39bf4babbfd8a2caabe8e228>:0)
System.MonoCustomAttrs.GetPseudoCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType) (at <27586baf39bf4babbfd8a2caabe8e228>:0)
System.MonoCustomAttrs.IsDefined (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) (at <27586baf39bf4babbfd8a2caabe8e228>:0)
System.Reflection.RuntimeMethodInfo.IsDefined (System.Type attributeType, System.Boolean inherit) (at <27586baf39bf4babbfd8a2caabe8e228>:0)
Bindito.Core.Internal.MethodRetriever.HasInjectAttribute (System.Reflection.MethodInfo method) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.MethodRetriever.IsInjectedMethod (System.Reflection.MethodInfo method) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
System.Linq.Enumerable+WhereArrayIterator1[TSource].ToList () (at <40b481cb584843bbbf4c840095ac6811>:0) System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable
1[T] source) (at <40b481cb584843bbbf4c840095ac6811>:0)
Bindito.Core.Internal.MethodRetriever.GetInjectedMethods (System.Type type) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.DependencyRetriever.GetParametersOfInjectedMethods (System.Type type) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.DependencyRetriever.GetDependencies (Bindito.Core.Internal.ProvisionBinding provisionBinding) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.BindingAnalyser.CheckForProblems (Bindito.Core.Internal.ProvisionBinding suspect) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.BindingAnalyser.CheckForProblemsCached (Bindito.Core.Internal.ProvisionBinding suspect) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.BindingAnalyser.Analyse (System.Type suspectType, Bindito.Core.Internal.ProvisionBinding suspectProvisionBinding) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.BindingValidator.Validate (System.Type type, Bindito.Core.Internal.ProvisionBinding provisionBinding) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.BinderValidator.ValidateBindings () (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.BinderValidator.Validate () (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.ContainerCreator.ValidateConfiguration (Bindito.Core.Internal.IBindingValidator bindingValidator, Bindito.Core.Internal.IBinder binder) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Internal.ContainerCreator.CreateContainer (System.Collections.Generic.IEnumerable1[T] configurators) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0) Bindito.Core.Bindito.CreateContainer (System.Collections.Generic.IEnumerable
1[T] configurators) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Core.Bindito.CreateContainer (Bindito.Core.IConfigurator[] configurators) (at <77aeff39aa1a4904bcb9a4557d4d140e>:0)
Bindito.Unity.ProjectConfigurator.CreateProjectContainer () (at :0)
Bindito.Unity.ProjectConfigurator.Awake () (at :0)
UnityEngine.Object:Instantiate(ProjectConfigurator)
Bindito.Unity.Internal.ProjectContainerProvider:GetProjectContainer(ProjectConfigurator)
Bindito.Unity.SceneConfigurator:CreateSceneContainer()
Bindito.Unity.SceneConfigurator:Awake()
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Bindito.Unity.SceneConfigurator.CreateSceneContainer () (at :0)
Bindito.Unity.SceneConfigurator.Awake () (at :0)
TimberApi 5.3.X
is not for experimental.
Use 0.5.4.2
instead.
Or 0.5.5.X
But most mods are not yet compatible with this.