gkngkc / UnityStandaloneFileBrowser

A native file browser for unity standalone platforms
MIT License
2.01k stars 317 forks source link

macOs: Crash after pressed cancel using OpenFilePanelAsync #40

Open igrir opened 5 years ago

igrir commented 5 years ago

On macOS whether you are in editor or built app, the application would crashed after opening file manager and pressed cancel

ShenKang4181 commented 4 years ago

I am exactly the same as the problem I encountered. Is it solved?

bam93 commented 4 years ago

Same observed here, yet trying to reproduce it voluntarily fails.. In my case the dialog panel remained open quite a while before I tried to press cancel. The debug log showed:

2020-04-21 14:25:04.181 UnityMol_1.0.39[65713:15787844] init
An abnormal situation has occurred: the PlayerLoop internal function has been called recursively. Please contact Customer Support with a sample project so that we can reproduce the problem and troubleshoot it. 
(Filename: Line: 377)
ShenKang4181 commented 4 years ago

Do not use asynchronous operations, use synchronous methods I have solved this problem