Problem with import height map
Closed this issue · 1 comments
I used https://heightmap.skydark.pl/beta/ to generate heightmap and rescaled it to 4096x4096 16bit png. Map is saved in my custom forder that MOOB has access to it. After selecting the folder and click on Select Directory button I get the error:
[ERROR] Error in trigger binding callback 'editorPanel.invoke' 'editorPanel' 'invoke'
IOException: rootPath can not be null
at Game.AssetPipeline.AssetImportPipeline.IsArtRootPath (System.String rootPathName, System.String path, System.String& artProjectPath, System.String& artProjectRelativePath) [0x00003] in <1612d666569f4a8aaf5062d9fcaab733>:0
at Game.AssetPipeline.AssetImportPipeline.IsArtRootPath (System.String rootPathName, System.String[] paths, System.String& artProjectPath, System.Collections.Generic.List1[System.String]& artProjectRelativePaths) [0x0001f] in <1612d666569f4a8aaf5062d9fcaab733>:0 at Game.AssetPipeline.AssetImportPipeline.CollectDataToImport (System.String projectRootPath, System.String[] assetPaths, Colossal.AssetPipeline.Diagnostic.Report report) [0x00006] in <1612d666569f4a8aaf5062d9fcaab733>:0 at Game.UI.Editor.AssetImportPanel+<GetAssets>d__15.MoveNext () [0x0004e] in <1612d666569f4a8aaf5062d9fcaab733>:0 at System.Collections.Generic.List
1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] in <b89873cb176e44a995a4781c7487d410>:0 at System.Collections.Generic.List
1[T]..ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x00062] in <b89873cb176e44a995a4781c7487d410>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable
1[T] source) [0x00018] in :0
at Game.UI.Editor.AssetImportPanel.OnSelectDirectory (System.String directory) [0x0008b] in <1612d666569f4a8aaf5062d9fcaab733>:0
at Game.UI.Editor.DirectoryBrowserPanel.OnSelectDirectory () [0x00000] in <1612d666569f4a8aaf5062d9fcaab733>:0
at Game.UI.Widgets.Button.Invoke () [0x00006] in <1612d666569f4a8aaf5062d9fcaab733>:0
at Game.UI.Widgets.InvokableBindings+<>c.b__0_0 (Game.UI.Widgets.IWidget widget) [0x0000a] in <1612d666569f4a8aaf5062d9fcaab733>:0
at Colossal.UI.Binding.TriggerBinding1[T].Callback () [0x00013] in <23b4c88d5e2d4cef98ab4023bceff82d>:0 Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) Colossal.Logging.UnityLogger:Log(Level, String, Exception) Colossal.Logging.UnityLogger:Error(Exception, Object) Colossal.UI.Binding.TriggerBinding
1:Callback()
System.Reflection.RuntimeMethodInfo:InternalInvoke(RuntimeMethodInfo, Object, Object[], Exception&)
System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
cohtml.Net.Invoker:ExecuteAndSendResult(Binder, Delegate, Object[], Boolean)
cohtml.Net.Invoker:Invoke(Int32)
cohtml.Net.cohtmlNativePINVOKE:View_MouseEvent(HandleRef, HandleRef)
cohtml.Net.View:MouseEvent(IMouseEventData)
Colossal.UI.UIInputSystem:DispatchInputEvents(UIView, Boolean, InputEventType)
Colossal.UI.UIInputSystem:DispatchInputEvents()
Game.SceneFlow.GameManager:Update()
Heightmap importing is no longer in the scope of this mod so this issue is game related.