Jump to content

[macOS] Game still crashing on presence of AppleDouble files (._*) mistaken as mod DLLs


myxal
  • Branch: Live Branch Version: OSX Fixed

Related: 

I'm still seeing the issue with U56. I think this time it was triggered by a mod being updated.
 

Spoiler


Quote

Exception while loading mod PeterHan.ToastControl at /Users/USER/Library/Application Support/unity.Klei.Oxygen Not Included/mods/Steam/2032187035. 
System.BadImageFormatException: Invalid Image: /Users/USER/Library/Application Support/unity.Klei.Oxygen Not Included/mods/Steam/2032187035/._ToastControl.dll
File name: '/Users/USER/Library/Application Support/unity.Klei.Oxygen Not Included/mods/Steam/2032187035/._ToastControl.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool,System.Threading.StackCrawlMark&)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00002] in <606c2e0a56af495988c860a4ac613e74>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00099] in <372772164f48450286a03e80a3759554>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <6fa2428cdd664a9c966f9bcf636d85c5>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <e40eb477f5ad4abeaa3e43385a3f8269>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <e40eb477f5ad4abeaa3e43385a3f8269>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <e40eb477f5ad4abeaa3e43385a3f8269>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <372772164f48450286a03e80a3759554>:0 
  at KMod.Mod.Load (KMod.Content content) [0x00000] in <372772164f48450286a03e80a3759554>:0 
  at KMod.Manager.Load (KMod.Content content) [0x00000] in <372772164f48450286a03e80a3759554>:0 
  at Global.Awake () [0x00000] in <372772164f48450286a03e80a3759554>:0 
  at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object , UnityEngine.Transform , UnityEngine.Vector3& , UnityEngine.Quaternion& ) [0x00000] in <6fa2428cdd664a9c966f9bcf636d85c5>:0 
  at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <6fa2428cdd664a9c966f9bcf636d85c5>:0 
  at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <6fa2428cdd664a9c966f9bcf636d85c5>:0 
  at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <6fa2428cdd664a9c966f9bcf636d85c5>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <e40eb477f5ad4abeaa3e43385a3f8269>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <e40eb477f5ad4abeaa3e43385a3f8269>:0 
  at LaunchInitializer.Update () [0x00000] in <372772164f48450286a03e80a3759554>:0 
Build: U56-677228-SCRP


 


Steps to Reproduce

copy/paste from previous bug report

  1. Have writable exFAT volume (/Volumes/T7-exFAT), make a directory on it (App-data/ONI)
  2. Move ONI data directory to the exFAT volume (mv ~/Library/Application\ Support/unity.Klei.Oxygen\ Not\ Included/.  /Volumes/T7-exFAT/App-data/ONI/
  3. Link new dir from the original location (rmdir ~/Library/Application\ Support/unity.Klei.Oxygen\ Not\ Included;  ln -s /Volumes/.../ONI ~/Library/Application\ Support/unity.Klei.Oxygen\ Not\ Included
  4. Extract some zipped mod manually, like MapsNotIncluded: https://github.com/barratt/mapsnotincluded.org/releases
  5. Launch game
  6. Observe crash



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...