Skip to content

[Bug]: bonelab #1093

@PlayerOner

Description

@PlayerOner

All of the following criteria must be met

  • All Requirements must be installed.
  • Changed the title so that it doesn't just says "[Bug]: "
  • I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.
  • Was able to see the Start Screen.

Describe the issue.

[20:03:31.012] ------------------------------
[20:03:31.014] MelonLoader v0.7.1 Open-Beta
[20:03:31.015] OS: Windows 11
[20:03:31.015] Hash Code: E02D6B4281E511A9F1EA88CD1737B993A6B9C7C5566EFBE68300B1FCF1479C14
[20:03:31.015] ------------------------------
[20:03:31.016] Game Type: Il2cpp
[20:03:31.016] Game Arch: x64
[20:03:31.016] ------------------------------
[20:03:31.016] Command-Line:
[20:03:31.016] ------------------------------
[20:03:31.017] Core::BasePath = C:\Program Files (x86)\Steam\steamapps\common\BONELAB
[20:03:31.017] Game::BasePath = C:\Program Files (x86)\Steam\steamapps\common\BONELAB
[20:03:31.017] Game::DataPath = C:\Program Files (x86)\Steam\steamapps\common\BONELAB\BONELAB_Steam_Windows64_Data
[20:03:31.017] Game::ApplicationPath = C:\Program Files (x86)\Steam\steamapps\common\BONELAB\BONELAB_Steam_Windows64.exe
[20:03:31.017] Runtime Type: net6
[20:03:31.063] ------------------------------
[20:03:31.063] Game Name: BONELAB
[20:03:31.064] Game Developer: Stress Level Zero
[20:03:31.065] Unity Version: 2021.3.16f1
[20:03:31.065] Game Version: 1.744.58126
[20:03:31.065] ------------------------------

[20:03:31.523] Preferences Loaded!

[20:03:31.538] Loading UserLibs...
[20:03:31.540] 0 UserLibs loaded.

[20:03:31.541] Loading Plugins...
[20:03:31.544] 0 Plugins loaded.

[20:03:38.706] Loading Il2CppAssemblyGenerator...
[20:03:38.733] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[20:03:38.883] [Il2CppAssemblyGenerator] Game Not Found on RemoteAPI Host (https://api.melonloader.com/api/v1/game/bonelab)
[20:03:38.883] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[20:03:38.884] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[20:03:38.884] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[20:03:38.884] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[20:03:38.890] [Il2CppAssemblyGenerator] Using Cpp2IL Version: 2022.1.0-pre-release.19
[20:03:38.890] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.5.0-ci.625+51abbdd5e95447d4450eb82bde1b77ecff3cea74
[20:03:38.890] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.16
[20:03:38.890] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[20:03:38.890] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[20:03:38.890] [Il2CppAssemblyGenerator] Cpp2IL.Plugin.StrippedCodeRegSupport is up to date.
[20:03:38.891] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[20:03:38.891] [Il2CppAssemblyGenerator] Checking GameAssembly...
[20:03:38.992] [Il2CppAssemblyGenerator] Assembly Generation Needed!
[20:03:39.008] [Il2CppAssemblyGenerator] Executing Cpp2IL...
[20:03:39.009] [Il2CppAssemblyGenerator] "C:\Program Files (x86)\Steam\steamapps\common\BONELAB\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\Cpp2IL.exe" --game-path "C:\Program Files (x86)\Steam\steamapps\common\BONELAB" --exe-name "BONELAB_Steam_Windows64" --output-as dummydll --use-processor attributeanalyzer attributeinjector
[20:03:39.191] [Il2CppAssemblyGenerator] ===Cpp2IL by Samboy063===
[20:03:39.191] [Il2CppAssemblyGenerator] A Tool to Reverse Unity's "il2cpp" Build Process.
[20:03:39.192] [Il2CppAssemblyGenerator] Version 2022.1.0-pre-release.19+edbb9949b3f999a44bb42aea14f357d6e0e7820f
[20:03:39.192] [Il2CppAssemblyGenerator]
[20:03:39.197] [Il2CppAssemblyGenerator] [Warn] [Program] NO_COLOR set, disabling ANSI color codes as you requested.
[20:03:39.201] [Il2CppAssemblyGenerator] [Info] [Program] Running on Win32NT
[20:03:39.262] [Il2CppAssemblyGenerator] [Info] [Plugins] Loading plugins from C:\Program Files (x86)\Steam\steamapps\common\BONELAB\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\Plugins...
[20:03:39.310] [Il2CppAssemblyGenerator] [Info] [Plugins] Using Plugin: Cpp2IL Built-In
[20:03:39.310] [Il2CppAssemblyGenerator] [Info] [Plugins] Using Plugin: Stripped CodeReg Support
[20:03:39.356] [Il2CppAssemblyGenerator] [Info] [Program] Determined game's unity version to be 2021.3.16a0
[20:03:39.381] [Il2CppAssemblyGenerator] [Info] [Library] Initializing Metadata...
[20:03:39.383] [Il2CppAssemblyGenerator] [Info] [Library] Using actual IL2CPP Metadata version 29
[20:03:39.754] [Il2CppAssemblyGenerator] [Info] [Library] Initialized Metadata in 371ms
[20:03:39.754] [Il2CppAssemblyGenerator] [Info] [Library] Using binary type Portable Executable (from LibCpp2IL)
[20:03:39.754] [Il2CppAssemblyGenerator] [Info] [Library] Searching Binary for Required Data...
[20:03:40.130] [Il2CppAssemblyGenerator] [Info] [Library] Got Binary codereg: 0x1836AA9B0, metareg: 0x183D7DB00 in 375ms.
[20:03:40.130] [Il2CppAssemblyGenerator] [Info] [Library] Initializing Binary...
[20:03:40.322] [Il2CppAssemblyGenerator] [Info] [Library] Initialized Binary in 192ms
[20:03:40.483] [Il2CppAssemblyGenerator] [Info] [Library] Mapping pointers to Il2CppMethodDefinitions...Processed 136329 OK (161ms)
[20:03:40.492] [Il2CppAssemblyGenerator] [Info] [Program] Creating application model...
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] Application model created in 1654,7367ms
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] Pre-processing processing layers...
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] CustomAttribute Analyzer...
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] CustomAttribute Analyzer finished in 0,0694ms
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] Attribute Injector...
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] Attribute Injector finished in 0,0035ms
[20:03:42.147] [Il2CppAssemblyGenerator] [Info] [Program] Invoking processing layers...
[20:03:42.148] [Il2CppAssemblyGenerator] [Info] [Program] CustomAttribute Analyzer...
[20:03:42.236] [Il2CppAssemblyGenerator] [Info] [Program] CustomAttribute Analyzer finished in 88,4359ms
[20:03:42.236] [Il2CppAssemblyGenerator] [Info] [Program] Attribute Injector...
[20:03:42.646] [Il2CppAssemblyGenerator] [Info] [Program] Attribute Injector finished in 410,1618ms
[20:03:42.646] [Il2CppAssemblyGenerator] [Info] [Program] Outputting as DLL output format for backwards compatibility. to C:\Program Files (x86)\Steam\steamapps\common\BONELAB\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\cpp2il_out...
[20:03:46.502] [Il2CppAssemblyGenerator] [Info] [Program] Finished outputting in 3856,1656ms
[20:03:46.502] [Il2CppAssemblyGenerator] [Info] [Program] Done. Total execution time: 7144,6478ms
[20:03:46.626] [Il2CppAssemblyGenerator] Reading dumped assemblies for interop generation...
[20:03:46.833] Failed to start MelonLoader
[20:03:46.837] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Steam\steamapps\common\BONELAB\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\cpp2il_out\HBAO.Runtime.dll' is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.File.ReadAllBytes(String path)
at AsmResolver.IO.ByteArrayInputFile..ctor(String filePath)
at AsmResolver.IO.UncachedFileService.OpenFile(String filePath)
at AsmResolver.PE.PEImage.FromFile(String filePath, PEReaderParameters readerParameters)
at AsmResolver.DotNet.ModuleDefinition.FromFile(String filePath, ModuleReaderParameters readerParameters)
at MelonLoader.Il2CppAssemblyGenerator.Packages.Il2CppInterop.<>c__DisplayClass2_0.b__1(String f) in D:\a\MelonLoader\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Packages\Il2CppInterop.cs:line 39
at System.Linq.Utilities.<>c__DisplayClass2_03.<CombineSelectors>b__0(TSource x) at System.Linq.Utilities.<>c__DisplayClass2_03.b__0(TSource x)
at System.Linq.Enumerable.WhereSelectArrayIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at MelonLoader.Il2CppAssemblyGenerator.Packages.Il2CppInterop.Execute() in D:\a\MelonLoader\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Packages\Il2CppInterop.cs:line 37
at MelonLoader.Il2CppAssemblyGenerator.Core.Run() in D:\a\MelonLoader\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Core.cs:line 115
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at MelonLoader.Modules.MelonModule.SendMessage(String name, Object[] arguments) in D:\a\MelonLoader\MelonLoader\MelonLoader\Modules\MelonModule.cs:line 118 at MelonLoader.InternalUtils.Il2CppAssemblyGenerator.Run() in D:\a\MelonLoader\MelonLoader\MelonLoader\InternalUtils\Il2CppAssemblyGenerator.cs:line 41 at MelonLoader.Core.PreSetup() in D:\a\MelonLoader\MelonLoader\MelonLoader\Core.cs:line 185 at MelonLoader.InternalUtils.MelonStartScreen.LoadAndRun(LemonFunc1 functionToWaitForAsync) in D:\a\MelonLoader\MelonLoader\MelonLoader\InternalUtils\MelonStartScreen.cs:line 20
at MelonLoader.Core.Start() in D:\a\MelonLoader\MelonLoader\MelonLoader\Core.cs:line 194
at MelonLoader.InternalUtils.BootstrapInterop.Start() in D:\a\MelonLoader\MelonLoader\MelonLoader\InternalUtils\BootstrapInterop.cs:line 98
[20:03:46.838] System.Exception: Error at start
at MelonLoader.InternalUtils.BootstrapInterop.Start() in D:\a\MelonLoader\MelonLoader\MelonLoader\InternalUtils\BootstrapInterop.cs:line 105

Did you attach your log file?

Yes, I attached my log file to the text box above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions