Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Crashing when saving/loading on Linux (Wayland/Gnome) [Workaround]

A topic by tehsquidge created Feb 23, 2024 Views: 127 Replies: 1
Viewing posts 1 to 2

Hey,

I've noticed a bug where the application crashes when trying to open a native dialog window for saving/loading/exporting. This is in Gnome and using Wayland. I believe it works under X11 but haven't tested.

A workaround for this is to launch the application like this:

GDK_BACKEND=x11 ./Asset\ Forge.x86_64


I've provided the Stacktrace. Let me know if you need any more info.


Stacktrace:
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Crosstales.FB.Wrapper.Linux.NativeMethods.DialogSaveFilePanel (string,string,string,string) [0x00026] in <7a3b30ffd72c450c8a1785d96f8ab24c>:0
  at Crosstales.FB.Wrapper.FileBrowserLinux.SaveFile (string,string,string,Crosstales.FB.ExtensionFilter[]) [0x0000a] in <7a3b30ffd72c450c8a1785d96f8ab24c>:0
  at Crosstales.FB.FileBrowser.SaveFile (string,string,string,Crosstales.FB.ExtensionFilter[]) [0x0000d] in <7a3b30ffd72c450c8a1785d96f8ab24c>:0
  at Crosstales.FB.FileBrowser.SaveFile (string,string) [0x0001a] in <7a3b30ffd72c450c8a1785d96f8ab24c>:0
  at Export.ExportModel (int,bool,bool,bool,int,single,single,bool) [0x0002f] in <729fe5c313ad495ba5b9cf3dc42b4587>:0
  at Panel3D.exportCallback (UnityEngine.Transform) [0x0008a] in <729fe5c313ad495ba5b9cf3dc42b4587>:0
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) [0x0001e] in <729fe5c313ad495ba5b9cf3dc42b4587>:0
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) UnityEngine.GameObject.SendMessage (UnityEngine.GameObject,string,object,UnityEngine.SendMessageOptions) [0x0000c] in <3b3eb4e308d8437b93d50c4c5ea504da>:0
  at ComponentBase.Callback (UnityEngine.Transform) [0x00029] in <729fe5c313ad495ba5b9cf3dc42b4587>:0
  at UnityEngine.Events.InvokableCall`1<T1_REF>.Invoke (T1_REF) [0x00011] in <3b3eb4e308d8437b93d50c4c5ea504da>:0
  at UnityEngine.Events.CachedInvokableCall`1<T_REF>.Invoke (object[]) [0x00001] in <3b3eb4e308d8437b93d50c4c5ea504da>:0
  at UnityEngine.Events.UnityEvent.Invoke () [0x0006e] in <3b3eb4e308d8437b93d50c4c5ea504da>:0
  at UnityEngine.UI.Button.Press () [0x00027] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData) [0x00011] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler,UnityEngine.EventSystems.BaseEventData) [0x00008] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute<T_REF> (UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<T_REF>) [0x00070] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData) [0x00181] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (int) [0x0002f] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00001] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00071] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at UnityEngine.EventSystems.EventSystem.Update () [0x000f3] in <0ae1d89591b14df7b1317113eb6d976c>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0001e] in <c8d0d7b9135640958bff528a1e374758>:1

Can confirm same issue on Ubuntu 22 and up. Your workaround does the job but it would be nice to see an update to fix this. Thanks!