Портирую 1 старую игру на Яндекс игры WebGL, в самой Unity (моя Unity 2019.3.15f1) нпс передвигаються нормально, но после билда под WebGL нпс перестают вообще двигаться, плагин какой-то ноу нейм A* Pathfinding, ниже коносоль ошибок в браузере:
UnloadTime: 6.500000 ms 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 Caught exception while deserializing data. System.MissingMethodException: Constructor on type 'System.ComponentModel.UInt32Converter' not found. at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0 at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <00000000000000000000000000000000>:0 at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at System.SecurityUtils.SecureCreateInstance (System.Type type, System.Object[] args, System.Boolean allowNonPublic) [0x00000] in <00000000000000000000000000000000>:0 at System.SecurityUtils.SecureCreateInstance (System.Type type) [0x00000] in <00000000000000000000000000000000>:0 at System.ComponentModel.ReflectTypeDescriptionProvider.CreateInstance (System.Type objectType, System.Type callingType) [0x00000] in <00000000000000000000000000000000>:0 at System.ComponentModel.ReflectTypeDescriptionProvider.SearchIntrinsicTable (System.Collections.Hashtable table, System.Type callingType) [0x00000] in <00000000000000000000000000000000>:0 at System.ComponentModel.ReflectTypeDescriptionProvider+ReflectedTypeData.GetConverter (System.Object instance) [0x00000] in <00000000000000000000000000000000>:0 at System.ComponentModel.ReflectTypeDescriptionProvider.GetConverter (System.Type type, System.Object instance) [0x00000] in <00000000000000000000000000000000>:0 at System.ComponentModel.TypeDescriptor+TypeDescriptionNode+DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetConverter () [0x00000] in <00000000000000000000000000000000>:0 at System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.JsonFx.TypeCoercionUtility.CoerceType (System.Type targetType, System.Object value) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.JsonFx.JsonReader.ReadNumber (System.Type expectedType) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.JsonFx.JsonReader.Read (System.Type expectedType, System.Boolean typeIsHint) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.JsonFx.JsonReader.PopulateObject (System.Object& result, System.Type objectType, System.Collections.Generic.Dictionary2[TKey,TValue] memberMap, System.Type genericDictionaryType) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.JsonFx.JsonReader.PopulateObject (System.Object& obj) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.JsonFx.JsonReader.PopulateObject[T] (T& obj) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.AstarSerializer.DeserializeGraph (System.Int32 zipIndex, System.Int32 graphIndex) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.Serialization.AstarSerializer.DeserializeGraphs () [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.AstarData.DeserializeGraphsPart (Pathfinding.Serialization.AstarSerializer sr) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.AstarData.DeserializeGraphs (System.Byte[] bytes) [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.AstarData.DeserializeGraphs () [0x00000] in <00000000000000000000000000000000>:0 at Pathfinding.AstarData.Awake () [0x00000] in <00000000000000000000000000000000>:0 at AstarPath.Initialize () [0x00000] in <00000000000000000000000000000000>:0 at AstarPath.Awake () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogWarning(Object) Pathfinding.AstarData:DeserializeGraphs(Byte[]) Pathfinding.AstarData:DeserializeGraphs() Pathfinding.AstarData:Awake() AstarPath:Initialize() AstarPath:Awake() (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) _JS_Log_Dump @ 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 v2.5ddce4b9c48becfd69fe.js:sourcemap:1 NullReferenceException: Object reference not set to an instance of an object. at AstarPath.Initialize () [0x00000] in <00000000000000000000000000000000>:0 at AstarPath.Awake () [0x00000] in <00000000000000000000000000000000>:0 (Filename: currently not available on il2cpp Line: -1) console.error @ v2.5ddce4b9c48becfd69fe.js:sourcemap:1 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 Unloading 6 Unused Serialized files (Serialized files now loaded: 0) 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 Unloading 34 unused Assets to reduce memory usage. Loaded Objects now: 21671. 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 Total: 36.300001 ms (FindLiveObjects: 2.500000 ms CreateObjectMapping: 1.300001 ms MarkObjects: 17.399999 ms DeleteObjects: 15.100001 ms) v2.5ddce4b9c48becfd69fe.js:sourcemap:1 NullReferenceException: Object reference not set to an instance of an object. at PathfindingManager.Start () [0x00000] in <00000000000000000000000000000000>:0 (Filename: currently not available on il2cpp Line: -1) console.error @ v2.5ddce4b9c48becfd69fe.js:sourcemap:1 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work 4c2970c0-63bd-4657-9717-ba0f4ad91f1f:8 Heli @ (217.1, 23.9, 546.6) UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Helicopter:FixedUpdate() (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Вот скриншот настройк в скрипте:
Пробовал через нейронки, вообще не помогает и проблема остается актуальной, буду рад помощи если кто-то с подобным сталкивался.