Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
131 stars 2 forks source link

If Japanese is used in the path to the Resonite installation, the Importing files with Asset Class will be unknown. #758

Closed FRICK-ELDY closed 8 months ago

FRICK-ELDY commented 9 months ago

Describe the bug?

If Japanese is used in the path to the Resonite installation, the Importing Model files will be unknown.

To Reproduce

  1. Install Resonite in a path with Japanese characters, such as D:\フォルダ\game\スチーム\steamapps\common\Resonite
  2. login.
  3. Drag and drop a 3D model such as FBX or GLB onto the Resonite screen.

4.The model importer does not appear and a binary file appears.

Expected behavior

If Resonite is installed in a non-English language file path, the experience may be compromised by the inability to import avatars.

Screenshots

2023-11-22_03 15 35 Normally, I would like to see the model importer on the right, but the binary file on the left appears. 2023-11-22_03 15 59 Pressing the import button should bring up the model importer, but it is not responding.

I assume this is because Importing files with Asset Class is Unknown, as shown in the log below.

If the Resonite installation path does not include Japanese, the problem does not occur.

Resonite Version Number

2023.11.18.1263

What Platforms does this occur on?

Windows

What headset if any do you use?

No response

Log Files

Additional Context

No response

Reporters

Discord:frick_no96

shiftyscales commented 9 months ago

This appears to be caused by an exception thrown by AssImp. The relevant acception appears to start at line 42 of the "Asset Class Unknown" log:

12:19:22.512 ( -1 FPS)  Exception Initializing AssimpContext:
Assimp.AssimpException: Error loading unmanaged library from path: D:\千登フォルダ\game\スチーム\steamapps\common\Resonite\assimp.dll

 ---> System.Runtime.InteropServices.COMException
   --- End of inner exception stack trace ---
  at Assimp.Unmanaged.UnmanagedWin32LibraryImplementation.NativeLoadLibrary (System.String path) [0x0004b] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.Unmanaged.UnmanagedLibraryImplementation.LoadLibrary (System.String path) [0x00008] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary (System.String libPath) [0x0002d] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary () [0x00012] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.Unmanaged.UnmanagedLibrary.LoadIfNotLoaded () [0x00023] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.Unmanaged.AssimpLibrary.GetExtensionList () [0x00000] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.AssimpContext.QueryImportFormatsIfNecessary () [0x0000e] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Assimp.AssimpContext.GetSupportedImportFormats () [0x00000] in <b088c5a12c02404594ec89a18c3c268d>:0 
  at Elements.Assets.AssetHelper..cctor () [0x0047c] in <4e6246c68a894e1486046ddc50784f59>:0 
12:19:22.515 ( -1 FPS)  Supported 3D model formats: meshx
12:19:22.515 ( -1 FPS)  Supported point cloud formats: pts, las, laz
12:19:22.515 ( -1 FPS)  Supported image formats: bmp, ico, jpg, jif, jpeg, jpe, jng, koa, iff, lbm, mng, pbm, pcd, pcx, pgm, png, ppm, ras, tga, targa, tif, tiff, wap, wbmp, wbm, psd, psb, cut, xbm, xpm, dds, gif, hdr, g3, sgi, rgb, rgba, bw, exr, j2k, j2c, jp2, pfm, pct, pict, pic, 3fr, arw, bay, bmq, cap, cine, cr2, crw, cs1, dc2, dcr, drf, dsc, dng, erf, fff, ia, iiq, k25, kc2, kdc, mdc, mef, mos, mrw, nef, nrw, orf, pef, ptx, pxn, qtk, raf, raw, rdc, rw2, rwl, rwz, sr2, srf, srw, sti, x3f, webp, jxr, wdp, hdp
12:19:22.515 ( -1 FPS)  Supported audio formats: wav, wave, flac, fla, ogg, aiff, aif, aifc
12:19:22.515 ( -1 FPS)  Supported video formats: mp4, mpeg, avi, mov, mpg, mkv, flv, webm, mts, 3gp, bik, m2v, m2s, wmv, m3u8, m3u, pls, m4a, mp3, mpeg3, aac, ac3, aif, aiff, ape, au, it, mka, mod, mp1, mp2, opus, s3m, sid, w64, wma, xm, nsf, nsfe, gbs, vgm, vgz, spc, gym
12:19:22.515 ( -1 FPS)  Supported font formats: ttf, otf, ttc, otc, woff
12:19:22.516 ( -1 FPS)  Supported subtitle formats: srt, sub, sub, ssa, ttml, vtt
12:19:22.611 ( -1 FPS)  Exception getting types from assembly TwitchLib.Api.V5.Models, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null:
System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FrooxEngine.EngineInitializer+<>c__DisplayClass4_0.<InitializeFrooxEngine>b__0 (System.Reflection.Assembly assembly) [0x0003f] in <110d8baae6e34f95b7484b0d1bb5190d>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <e24b0ec859c34caba7513b13a92d9926>:0 
  at FrooxEngine.EngineInitializer+<>c__DisplayClass4_0.<InitializeFrooxEngine>b__0 (System.Reflection.Assembly assembly) [0x00000] in <110d8baae6e34f95b7484b0d1bb5190d>:0 
  at System.Threading.Tasks.Dataflow.ActionBlock`1[TInput].ProcessMessage (System.Action`1[T] action, System.Collections.Generic.KeyValuePair`2[TKey,TValue] messageWithId) [0x00000] in <5096ee640c99435daf1cdb6f2ab12bce>:0 
  at System.Threading.Tasks.Dataflow.ActionBlock`1+<>c__DisplayClass6_0[TInput].<.ctor>b__0 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] messageWithId) [0x00000] in <5096ee640c99435daf1cdb6f2ab12bce>:0 
  at System.Threading.Tasks.Dataflow.Internal.TargetCore`1[TInput].ProcessMessagesLoopCore () [0x00000] in <5096ee640c99435daf1cdb6f2ab12bce>:0 
  at System.Threading.Tasks.Dataflow.Internal.TargetCore`1+<>c[TInput].<ProcessAsyncIfNecessary_Slow>b__34_0 (System.Object thisTargetCore) [0x00000] in <5096ee640c99435daf1cdb6f2ab12bce>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
Frooxius commented 8 months ago

This should be fixed in 2023.12.15.22!

Please reopen if you still experience issues!