Yellow-Dog-Man / Resonite-Issues

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

LoadProxySettings Game Crash #1339

Closed knackrack615 closed 5 days ago

knackrack615 commented 7 months ago

Describe the bug?

Assuming "proxy": { "autoDetect": true } Is set in Config.json, when the game tries to read the Windows/IE proxy settings on startup, it fails resulting in the game crashing.

To Reproduce

Expected behavior

Screenshots

No response

Resonite Version Number

2024.2.12.1430

What Platforms does this occur on?

Windows

What headset if any do you use?

N/A

Log Files

11:10:26 AM.429 ( -1 FPS)   [1] Detecting output device
11:10:26 AM.570 ( -1 FPS)   [2] Creating FrooxEngineRunner
11:10:26 AM.762 ( -1 FPS)   Supported Experimental Texture Formats for Sample: R8G8B8A8_SRGB, R8_UNorm, R8G8_UNorm, R8G8B8A8_UNorm, R16_UNorm, R16_SFloat, R16G16_SFloat, R16G16B16A16_SFloat, R32_SFloat, R32G32_SFloat, R32G32B32_SFloat, R32G32B32A32_SFloat, B8G8R8A8_SRGB, B8G8R8A8_UNorm, B4G4R4A4_UNormPack16, B5G6R5_UNormPack16, E5B9G9R9_UFloatPack32, RGBA_DXT1_SRGB, RGBA_DXT1_SRGB, RGBA_DXT1_UNorm, RGBA_DXT1_UNorm, RGBA_DXT3_SRGB, RGBA_DXT3_UNorm, RGBA_DXT5_SRGB, RGBA_DXT5_UNorm, R_BC4_UNorm, RG_BC5_UNorm, RGB_BC6H_UFloat, RGBA_BC7_SRGB, RGBA_BC7_UNorm
11:10:26 AM.762 ( -1 FPS)   [3] Initializing Engine Runner
11:10:26 AM.762 ( -1 FPS)   Microphone permission authorized
11:10:26 AM.762 ( -1 FPS)   External storage read permission authorized
11:10:26 AM.762 ( -1 FPS)   External storage write permission authorized
11:10:26 AM.762 ( -1 FPS)   DeviceName: Screen
11:10:30 AM.907 ( -1 FPS)   AppPath: C:\Program Files (x86)\Steam\steamapps\common\Resonite
DataPath: C:/Users/zafei/AppData/LocalLow/Yellow Dog Man Studios/Resonite
CachePath: C:/Users/zafei/AppData/Local/Temp/Yellow Dog Man Studios/Resonite
11:10:30 AM.952 ( -1 FPS)   Initializing App: Beta 2024.2.12.1430
Platform: Windows
HeadDevice: Screen
IsAOT: False
OS: Windows 10  (10.0.22631) 64bit
CPU: AMD Ryzen 9 5950X 16-Core Processor 
GPU: AMD Radeon RX 6900 XT
PhysicalCores: 
MemoryBytes: 63.91 GB
VRAMBytes: 15.95 GB
MaxTextureSize: 16384
IsGPUTexturePOTByteAligned: True
UsingLinearSpace: True
XR Device Name: 
XR Device Model: 
StereoRenderingMode: MultiPass
Max GC Generation: 0, IsLittleEndian: True
System.Numerics.Vectors HW accelerated: False, Vector<float>.Count: 4
Brotli native encoding/decoding supported: True
11:10:30 AM.953 ( -1 FPS)   Supported Texture Formats: Alpha8, R8, RGB24, ARGB32, RGBA32, BGRA32, RGB565, RGBAHalf, RHalf, RGHalf, RGBAFloat, RFloat, RGFloat, BC1, BC3, BC4, BC5, BC6H, BC7
11:10:30 AM.954 ( -1 FPS)   [4] Processing startup commands...
11:10:30 AM.960 ( -1 FPS)   [5] Scanning locales...
11:10:30 AM.961 ( -1 FPS)   Available locales: cs, de, en, en-gb, eo, es, et, fi, fr, is, ja, ko, nl, no, pl, pt-br, ru, sv, tr, zh-cn, zh-tw
11:10:30 AM.969 ( -1 FPS)   [6] Loading Config.json...
11:10:30 AM.969 ( -1 FPS)   Parsing Config file: C:\Program Files (x86)\Steam\steamapps\common\Resonite\Config.json
11:10:31 AM.081 ( -1 FPS)   Trigger Deadzone: 
11:10:31 AM.082 ( -1 FPS)   [7] Computing compatibility hash...
11:10:31 AM.084 ( -1 FPS)   Compatibility Hash: DOcBJ83qtG4iv5+V3TvRJw==
11:10:31 AM.085 ( -1 FPS)   Initializing proxy settings...
11:10:31 AM.085 ( -1 FPS)   Attempting to automatically detect proxy settings.
11:10:31 AM.090 ( -1 FPS)   Retrieving proxy info.
11:10:31 AM.090 ( -1 FPS)   Local Bypass: False
11:10:31 AM.090 ( -1 FPS)   Bypass list: System.String[]
11:10:31 AM.090 ( -1 FPS)   Attempting detect proxy information from IE settings.
11:10:31 AM.106 ( -1 FPS)   Engine not initialized, shutting down...
11:10:31 AM.106 ( -1 FPS)   Exception in initializing the engine:
System.NullReferenceException: Object reference not set to an instance of an object
  at FrooxEngine.Engine+<LoadProxySettings>d__320.MoveNext () [0x0011c] in <6450ba452eef4b15a58558870451eee7>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FrooxEngine.Engine+<Initialize>d__314.MoveNext () [0x005f9] in <6450ba452eef4b15a58558870451eee7>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner+<>c__DisplayClass27_0+<<Initialize>b__2>d.MoveNext () [0x00092] in <e74db962a71e4b62b259fa91018e0f2f>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <aa0c58f0f73841a7b5fdcd3aa64d3410>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner+<>c__DisplayClass27_0+<<Initialize>b__2>d.MoveNext () [0x00000] in <e74db962a71e4b62b259fa91018e0f2f>:0 
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner+<>c__DisplayClass27_0.<Initialize>b__2 () [0x00000] in <e74db962a71e4b62b259fa91018e0f2f>:0 
  at System.Threading.Tasks.Task`1[TResult].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 
11:10:31 AM.107 ( -1 FPS)   Shutting down
<<< LOG END >>>

Additional Context

There is nothing special about my proxy settings (I don't even have a proxy enabled right now).

Nulling out the proxy fields on Windows settings or Using a proxy (Fiddler in my case) makes no difference, the game still crashes upon launch (Also tried manually creating the ProxyOverrides key the game is looking for in the registry, which results in the game crashing at a later point when trying to access any URL).

This is not a permission issue either (Launching the game with UAC makes no difference).

Reporters

@knackrack

NepuShiro commented 7 months ago

I can vouch that this happens to me as well, the logs are also the exact same.

I get the problem above with AutoDetect = True without a proxy but I'm unsure if this will work with a proxy as I can't test it currently

I've also noticed if AutoDetect = false in the config, Skyfrost will attempts to load a proxy.

4:24:25 AM.460 ( -1 FPS)    [1] Detecting output device
4:24:25 AM.549 ( -1 FPS)    [2] Creating FrooxEngineRunner
4:24:25 AM.622 ( -1 FPS)    Supported Experimental Texture Formats for Sample: R8G8B8A8_SRGB, R8_UNorm, R8G8_UNorm, R8G8B8A8_UNorm, R16_UNorm, R16_SFloat, R16G16_SFloat, R16G16B16A16_SFloat, R32_SFloat, R32G32_SFloat, R32G32B32_SFloat, R32G32B32A32_SFloat, B8G8R8A8_SRGB, B8G8R8A8_UNorm, B4G4R4A4_UNormPack16, B5G6R5_UNormPack16, E5B9G9R9_UFloatPack32, RGBA_DXT1_SRGB, RGBA_DXT1_SRGB, RGBA_DXT1_UNorm, RGBA_DXT1_UNorm, RGBA_DXT3_SRGB, RGBA_DXT3_UNorm, RGBA_DXT5_SRGB, RGBA_DXT5_UNorm, R_BC4_UNorm, RG_BC5_UNorm, RGB_BC6H_UFloat, RGBA_BC7_SRGB, RGBA_BC7_UNorm
4:24:25 AM.622 ( -1 FPS)    [3] Initializing Engine Runner
4:24:25 AM.624 ( -1 FPS)    Microphone permission authorized
4:24:25 AM.624 ( -1 FPS)    External storage read permission authorized
4:24:25 AM.625 ( -1 FPS)    External storage write permission authorized
4:24:25 AM.625 ( -1 FPS)    DeviceName: Screen
4:24:30 AM.115 ( -1 FPS)    AppPath: C:\Program Files (x86)\Steam\steamapps\common\Resonite
DataPath: C:/Users/colac/AppData/LocalLow/Yellow Dog Man Studios/Resonite
CachePath: C:/Users/colac/AppData/Local/Temp/Yellow Dog Man Studios/Resonite
4:24:30 AM.146 ( -1 FPS)    Initializing App: Beta 2024.2.12.1430
Platform: Windows
HeadDevice: Screen
IsAOT: False
OS: Windows 10  (10.0.22631) 64bit
CPU: AMD Ryzen 5 5600X 6-Core Processor 
GPU: NVIDIA GeForce RTX 3070 Ti
PhysicalCores: 
MemoryBytes: 31.92 GB
VRAMBytes: 7.84 GB
MaxTextureSize: 16384
IsGPUTexturePOTByteAligned: True
UsingLinearSpace: True
XR Device Name: 
XR Device Model: 
StereoRenderingMode: MultiPass
Max GC Generation: 0, IsLittleEndian: True
System.Numerics.Vectors HW accelerated: False, Vector<float>.Count: 4
Brotli native encoding/decoding supported: True
4:24:30 AM.147 ( -1 FPS)    Supported Texture Formats: Alpha8, R8, RGB24, ARGB32, RGBA32, BGRA32, RGB565, RGBAHalf, RHalf, RGHalf, RGBAFloat, RFloat, RGFloat, BC1, BC3, BC4, BC5, BC6H, BC7
4:24:30 AM.149 ( -1 FPS)    [4] Processing startup commands...
4:24:30 AM.153 ( -1 FPS)    [5] Scanning locales...
4:24:30 AM.154 ( -1 FPS)    Available locales: cs, de, en, en-gb, eo, es, et, fi, fr, is, ja, ko, nl, no, pl, pt-br, ru, sv, tr, zh-cn, zh-tw
4:24:30 AM.160 ( -1 FPS)    [6] Loading Config.json...
4:24:30 AM.165 ( -1 FPS)    Parsing Config file: C:\Program Files (x86)\Steam\steamapps\common\Resonite\Config.json
4:24:30 AM.292 ( -1 FPS)    Trigger Deadzone: 
4:24:30 AM.293 ( -1 FPS)    [7] Computing compatibility hash...
4:24:30 AM.296 ( -1 FPS)    Compatibility Hash: DOcBJ83qtG4iv5+V3TvRJw==
4:24:30 AM.298 ( -1 FPS)    Initializing proxy settings...
4:24:30 AM.298 ( -1 FPS)    [8] Initializing FrooxEngine...
4:24:31 AM.190 ( -1 FPS)    FreeImage Version: 3.18.1
4:24:31 AM.190 ( -1 FPS)    BepuPhysics Version: 2.4.0.2-ydm-0.1.6
4:24:31 AM.196 ( -1 FPS)    FreeType Version: 2.10.4
4:24:31 AM.197 ( -1 FPS)    Opus Version: libopus 1.3.1-138-g07376903
4:24:31 AM.236 ( -1 FPS)    Supported 3D model formats: meshx, 3d, 3ds, 3mf, ac, ac3d, acc, amf, ase, ask, assbin, b3d, blend, bsp, bvh, cob, csm, dae, dxf, enff, fbx, glb, gltf, hmp, ifc, ifczip, iqm, irr, irrmesh, lwo, lws, lxo, md2, md3, md5anim, md5camera, md5mesh, mdc, mdl, mesh, mesh.xml, mot, ms3d, ndo, nff, obj, off, ogex, pk3, ply, pmx, prj, q3o, q3s, raw, scn, sib, smd, step, stl, stp, ter, uc, vta, x, x3d, x3db, xgl, xml, zae, zgl
4:24:31 AM.236 ( -1 FPS)    Supported point cloud formats: pts, las, laz
4:24:31 AM.237 ( -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
4:24:31 AM.239 ( -1 FPS)    Supported audio formats: wav, wave, flac, fla, ogg, aiff, aif, aifc
4:24:31 AM.240 ( -1 FPS)    Supported video formats: mp4, mpeg, avi, mov, mpg, mkv, flv, webm, mts, 3gp, bik, m2v, m2s, wmv, m3u8, m3u, pls, ogv, 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
4:24:31 AM.241 ( -1 FPS)    Supported font formats: ttf, otf, ttc, otc, woff
4:24:31 AM.241 ( -1 FPS)    Supported document formats: pdf
4:24:31 AM.243 ( -1 FPS)    Supported subtitle formats: srt, sub, sub, ssa, ttml, vtt
4:24:31 AM.320 ( -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 <6450ba452eef4b15a58558870451eee7>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <aa0c58f0f73841a7b5fdcd3aa64d3410>:0 
  at FrooxEngine.EngineInitializer+<>c__DisplayClass4_0.<InitializeFrooxEngine>b__0 (System.Reflection.Assembly assembly) [0x00000] in <6450ba452eef4b15a58558870451eee7>: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 
4:24:33 AM.280 ( -1 FPS)    [9] Initializing InputInterface...
4:24:33 AM.299 ( -1 FPS)    [10] Initializing LocalDB...
4:24:33 AM.303 ( -1 FPS)    [11] Initializing Local Data
4:24:33 AM.303 ( -1 FPS)        
4:24:33 AM.309 ( -1 FPS)    MachineID: sexydmp7x7p8cd36gohfp6z4mztb43zaxnu4ajp7fqyujc9ss7xo
4:24:33 AM.309 ( -1 FPS)    [12] Loading LiteDB database
4:24:33 AM.309 ( -1 FPS)        
4:24:33 AM.646 ( -1 FPS)    [13] Configuring LiteDB database
4:24:33 AM.646 ( -1 FPS)        
4:24:33 AM.832 ( -1 FPS)    [14] Processing LocalDB export
4:24:33 AM.833 ( -1 FPS)    [15] Initializing WorkProcessor...
4:24:33 AM.837 ( -1 FPS)    Initialized WorkProcessor. Background Workers: 12, Priority Workers: 11
4:24:33 AM.838 ( -1 FPS)    [16] Initializing AudioSystem...
4:24:33 AM.843 ( -1 FPS)    AudioSystem SampleRate: 48000, BufferLength: 1024, NumBuffers: 4
4:24:33 AM.917 ( -1 FPS)    [17] Initializing GlobalCoroutineManager...
4:24:33 AM.927 ( -1 FPS)    [18] Initializing WorldManager...
4:24:33 AM.939 ( -1 FPS)    [19] Initializing NetworkManager...
4:24:33 AM.940 ( -1 FPS)    [20] Initializing SecurityManager...
4:24:33 AM.941 ( -1 FPS)    [21] Initializing PlatformInterface...
4:24:33 AM.943 ( -1 FPS)        Discord
4:24:33 AM.957 ( -1 FPS)    Discord connector initialized.
4:24:33 AM.957 ( -1 FPS)        Steam
4:24:33 AM.962 ( -1 FPS)    Local User SteamID: 76561197963171551
4:24:33 AM.964 ( -1 FPS)    Steam Voice Initialized
4:24:33 AM.966 ( -1 FPS)    SteamAPI initialized
4:24:33 AM.967 ( -1 FPS)        Windows
4:24:33 AM.968 ( -1 FPS)    Initializing system helper at: C:\Program Files (x86)\Steam\steamapps\common\Resonite\RuntimeData\SystemHelper
4:24:33 AM.969 ( -1 FPS)    System Helper Executable: C:\Program Files (x86)\Steam\steamapps\common\Resonite\RuntimeData\SystemHelper\SystemHelperServer.exe
4:24:34 AM.073 ( -1 FPS)    System Helper initialized
4:24:34 AM.074 ( -1 FPS)    Supported network protocols: lnl-nat, lnl, res-steam
4:24:34 AM.076 ( -1 FPS)    [22] Initializing SkyFrost Interface...
4:24:38 AM.915 ( -1 FPS)    Found a proxy config.  Initializing internal proxy configuration for SkyFrost.
4:24:38 AM.915 ( -1 FPS)    We've detected a proxy configuration:   Continuing with that.
4:24:38 AM.931 ( -1 FPS)    Engine not initialized, shutting down...
4:24:38 AM.931 ( -1 FPS)    Exception in initializing the engine:
System.UriFormatException: Invalid URI: The hostname could not be parsed.
  at System.Uri.CreateThis (System.String uri, System.Boolean dontEscape, System.UriKind uriKind) [0x0007b] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 
  at System.Uri..ctor (System.String uriString) [0x00014] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 
  at System.Net.WebProxy..ctor (System.String Host, System.Int32 Port) [0x0001d] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 
  at SkyFrost.Base.WebProxyUtility.CreateProxy (SkyFrost.Base.ProxyConfig config) [0x0000c] in <32b0bf629ac14a9f9822cc989aec6bb2>:0 
  at SkyFrost.Base.WebProxyUtility.SetupClientHandler (System.Net.Http.HttpClientHandler handler, SkyFrost.Base.ProxyConfig config) [0x0001e] in <32b0bf629ac14a9f9822cc989aec6bb2>:0 
  at SkyFrost.Base.SkyFrostInterface..ctor (System.String uid, System.String secretMachineId, SkyFrost.Base.SkyFrostConfig config) [0x000cb] in <32b0bf629ac14a9f9822cc989aec6bb2>:0 
  at FrooxEngine.EngineSkyFrostInterface..ctor (FrooxEngine.Engine engine, System.String uid, SkyFrost.Base.SkyFrostConfig config) [0x0000d] in <6450ba452eef4b15a58558870451eee7>:0 
  at FrooxEngine.Engine+<InitializeSkyFrost>d__332.MoveNext () [0x001b7] in <6450ba452eef4b15a58558870451eee7>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FrooxEngine.Engine+<Initialize>d__314.MoveNext () [0x00a24] in <6450ba452eef4b15a58558870451eee7>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner+<>c__DisplayClass27_0+<<Initialize>b__2>d.MoveNext () [0x00092] in <e74db962a71e4b62b259fa91018e0f2f>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <aa0c58f0f73841a7b5fdcd3aa64d3410>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner+<>c__DisplayClass27_0+<<Initialize>b__2>d.MoveNext () [0x00000] in <e74db962a71e4b62b259fa91018e0f2f>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [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.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishStageThree () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task`1[TResult].TrySetException (System.Object exceptionObject) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetException (System.Exception exception) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FrooxEngine.Engine+<Initialize>d__314.MoveNext () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [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.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishStageThree () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task`1[TResult].TrySetException (System.Object exceptionObject) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetException (System.Exception exception) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FrooxEngine.Engine+<InitializeSkyFrost>d__332.MoveNext () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [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.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishStageThree () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [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 
4:24:38 AM.939 ( -1 FPS)    Shutting down
<<< LOG END >>>

From what I can gauge it assumes that since the "config" key exists in Config.json, that there should be an address and port and such, but since those don't exist it doesn't get past the Skyfrost initialization and crashes as it attempts to parse null or nothing, but this is just speculation from just skimming around. Hopefully this can be fixed easily.

RubberDuckShobe commented 6 months ago

I have the same issue as OP. Same error in the logs, even when setting every value of the proxy config.

RubberDuckShobe commented 6 months ago

Tested by manually supplying proxy info (autoDetect false) - works for logging in and such, but trying to join a session causes it to fail connecting.

shiftyscales commented 6 months ago

This issue appears to have everything it needs I think, @Frooxius.

ProbablePrime commented 5 days ago

I think this one should be fixed, ill take a look

ProbablePrime commented 5 days ago

Fixed, no idea which version.