jixxed / StationeersMods

Stationeers Modding Framework for Unity mods
26 stars 4 forks source link

Unity crash when loading project #15

Closed GTorneo closed 7 months ago

GTorneo commented 7 months ago

Here is a Unity crash log:

> Begin MonoManager ReloadAssembly
> Symbol file LoadedFromMemory doesn't match image E:\Games\Unity projects\Stationeers Test Mod\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
> Symbol file LoadedFromMemory doesn't match image E:\Games\Unity projects\Stationeers Test Mod\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
> * Assertion at C:\build\output\Unity-Technologies\mono\mono\metadata\loader.c:345, condition `is_ok (error)' not met, function:mono_field_from_token, Could not resolve field token 0x040022ea, due to: Could not load type of field 'Assets.Scripts.GridController:GridVoxelCanAirPassNative' (13) due to: Could not load file or assembly 'Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:E:\Games\Unity projects\Stationeers Test Mod\Assets\Assemblies\Assembly-CSharp.dll type:GridController member:(null)
> 
> Crash!!!

To fix this out, the way is to delete all files from Assets\StationeersMods my project folder and reimporting from StationeersMods-exporter directory. But next loading project doing the same crush... Unity version 2021.2.13f1