- Home /
TypeLoadException after upgrade to 3.5.3
Hi,
I got this weird typeloadexception after upgrade my unity project to 3.5.3.
TypeLoadException: Could not load type 'UnityEngine.MeshSubsetCombineUtility+MeshInstance[]' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. UnityEngine.InternalStaticBatchingUtility.Combine (UnityEngine.GameObject[] gos, UnityEngine.GameObject staticBatchRoot, Boolean generateTriangleStrips) (at C:/BuildAgent/work/14194e8ce88cdf47/Runtime/Export/StaticBatching/CombineForStaticBatching.cs:137) UnityEngine.InternalStaticBatchingUtility.Combine (UnityEngine.GameObject staticBatchRoot, Boolean combineOnlyStatic, Boolean generateTriangleStrips) (at C:/BuildAgent/work/14194e8ce88cdf47/Runtime/Export/StaticBatching/CombineForStaticBatching.cs:48)
Anyone knows why?
Also I also got SQLConnection not loaded error:
TypeLoadException: Could not load type 'System.Data.SqlClient.SqlConnection' from assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. UnityEngine.InternalStaticBatchingUtility.Combine (UnityEngine.GameObject[] gos, UnityEngine.GameObject staticBatchRoot, Boolean generateTriangleStrips) (at C:/BuildAgent/work/14194e8ce88cdf47/Runtime/Export/StaticBatching/CombineForStaticBatching.cs:137) UnityEngine.InternalStaticBatchingUtility.Combine (UnityEngine.GameObject staticBatchRoot, Boolean combineOnlyStatic, Boolean generateTriangleStrips) (at C:/BuildAgent/work/14194e8ce88cdf47/Runtime/Export/StaticBatching/CombineForStaticBatching.cs:48) UnityEditor.PostprocessScene+UnityBuildPostprocessor.OnPostprocessScene () (at C:/BuildAgent/work/14194e8ce88cdf47/Editor/Mono/PostprocessScene.cs:22)
it occurs when the program tries to close SQL connection.
Anyone has sort of ideas?
Thank you in advance.
Your answer
Follow this Question
Related Questions
Mono 2.0 subset, precompiled .NET dlls, and TypeLoadExceptions 2 Answers
How is it best to distribute a complex unity project to other devs as asingle dll 1 Answer
TypeLoadException when taking NAudio.all as reference 2 Answers
TypeLoadException after adding DLL 0 Answers
Monodevelop can not open file 2 Answers