Using LoadObject will freeze the program
Opened this issue · 0 comments
xNocken commented
Whenever i use the LoadObject function instead of the LoadObjectAsync function the program freezes forever. Using the LoadObjectAsync function with await seems to work but using the async function in a not async context wont work.
I figured out that the problem comes from AbstractFileProvider.cs
var uasset = await uassetTask;
I also noticed that it works when i use the debugger to step into the Task.Run(CreateReader)
function thats being called above by file.CreateReaderAsync()
even tho it doesnt step into the function.
Current workaround:
Using the LoadObjectAsync function in an async function seems to fix it but is quite annoying.