Hey #UWP #Unity devs, I've a question related to #IL2CPP . How to debug an exception? Everything is fine in the editor, however I've an exception at each frame and I don't know how to debug it :/ cc @ActiveNick @unity3d @SimonDarksideJ
The call stack is empty because the execution doesn't stop. Do you have a documentation about how to debug with IL2CPP?pic.twitter.com/JoTepHVDaY
-
-
I would put a breakpoint in the Exception::Raise function in libil2cpp/vm/Exception.cpp. This should be location where all exceptions are raised. You can likely see/guess what's going on.
-
OK I got it... It's a call to `Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)` that causes the exception. I'm going to try to use Application.dataPath instead.. But I'll have to find another solution because I've to read files in the My Documents folder.
- 4 réponses de plus
Nouvelle conversation -
Le chargement semble prendre du temps.
Twitter est peut-être en surcapacité ou rencontre momentanément un incident. Réessayez ou rendez-vous sur la page Twitter Status pour plus d'informations.