Unity APPCrash on Playmode Exit
Get, then i exit from a scene, with an render texture noesis gui, an Appcrash.
The UI loads dynamicly up to 80+ images through TextureSource Items, but in Playmode it did not crash. Only on exit.
After some testing, i get the crash then i go in playmode browse some images, witch get loaded in an MenueItem TextureSource, in the viewmodel alot and on exit no problem. But then i start again, do nothing, and exit, i get the crash.
Are the Images floating in the GPU and get not released ?
Is this a common problem ?
My Project has a very long loading times and with this constant crashes, it made noeseis gui unusable.
Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: Unity.exe
Anwendungsversion: 5.6.5.44118
Anwendungszeitstempel: 5a312563
Fehlermodulname: mono.dll
Fehlermodulversion: 1.0.0.1
Fehlermodulzeitstempel: 5a19ebf6
Ausnahmecode: c0000005
Ausnahmeoffset: 0000000000031e24
Betriebsystemversion: 6.1.7601.2.1.0.256.48
Gebietsschema-ID: 1031
Zusatzinformation 1: 80bd
Zusatzinformation 2: 80bd89b4e6ed24a46ec21c47185cfd6b
Zusatzinformation 3: af77
Zusatzinformation 4: af7770801838c7227550ea18d2cfe7e0
The UI loads dynamicly up to 80+ images through TextureSource Items, but in Playmode it did not crash. Only on exit.
After some testing, i get the crash then i go in playmode browse some images, witch get loaded in an MenueItem TextureSource, in the viewmodel alot and on exit no problem. But then i start again, do nothing, and exit, i get the crash.
Code: Select all
Playmode START
NoesisView XAML load
Dynamic loading TextureSource
Clearing Collection
Dynamic loading TextureSource
Clearing Collection
....
Playmode STOP No Error
----------------------------------------------------------------
Playmode START
NoesisView XAML load
Do nothing
Playmode STOP -- CRASHIs this a common problem ?
My Project has a very long loading times and with this constant crashes, it made noeseis gui unusable.
Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: Unity.exe
Anwendungsversion: 5.6.5.44118
Anwendungszeitstempel: 5a312563
Fehlermodulname: mono.dll
Fehlermodulversion: 1.0.0.1
Fehlermodulzeitstempel: 5a19ebf6
Ausnahmecode: c0000005
Ausnahmeoffset: 0000000000031e24
Betriebsystemversion: 6.1.7601.2.1.0.256.48
Gebietsschema-ID: 1031
Zusatzinformation 1: 80bd
Zusatzinformation 2: 80bd89b4e6ed24a46ec21c47185cfd6b
Zusatzinformation 3: af77
Zusatzinformation 4: af7770801838c7227550ea18d2cfe7e0
Re: Unity APPCrash on Playmode Exit
I am really sorry about the crash. Could you please report it? We are going to need a proper dump file, or even better, the project itself (binaries).
Thanks for your time!
Thanks for your time!
Re: Unity APPCrash on Playmode Exit
The Project is 25,9 GB at the moment, so a Upload would be difficult.
For now i live with it.
But at least, i think i have containt it.
At first i had an Observable List with Items, that contained a TextureSource. This list got cleared and recreated, multiple times from the Model Data.
Now I have created and stored the VM List Items in an separate List<> so the TextureSource, in the Items, not get released then i clear the Observable List.
Also i had an Memory Consumption of 7gb and found out, it was my Audio array. Now i have a new Scene and a Memory Consumption under 2gb.
Unity don't crash then i browse my items with noesisGUI now.
But i can say that the old setup did not crash then i have used an noesisGUI without Images.
I think i have to be very very very careful with Realtime Images.
For now i live with it.
But at least, i think i have containt it.
At first i had an Observable List with Items, that contained a TextureSource. This list got cleared and recreated, multiple times from the Model Data.
Now I have created and stored the VM List Items in an separate List<> so the TextureSource, in the Items, not get released then i clear the Observable List.
Also i had an Memory Consumption of 7gb and found out, it was my Audio array. Now i have a new Scene and a Memory Consumption under 2gb.
Unity don't crash then i browse my items with noesisGUI now.
But i can say that the old setup did not crash then i have used an noesisGUI without Images.
I think i have to be very very very careful with Realtime Images.
Re: Unity APPCrash on Playmode Exit
At least the dump would be useful to see what kind of crash you are getting. TextureSource holds a strong reference to the Unity texture object, but I am suspicious right now about Unity unloading the internal texture handle without notification (because they don't support that). If that is what happening (I am not 100% sure) then we would need to check for a handle change per frame. That would be totally inefficient or we would need support from Unity for this scenario (the communication with the Unity team is almost impossible regarding native things).The Project is 25,9 GB at the moment, so a Upload would be difficult.
So.. I need time to analyze this properly.
Re: Unity APPCrash on Playmode Exit
So, at this point, my recommendation is manual handling of texture loading and unloading to avoid hitting the limits and having Unity unload texture by itself. This is also a good recommendation in general, because the texture manager in Unity doesn't have all the information the game has.
Re: Unity APPCrash on Playmode Exit
Sorry, I'm only a Hobbyist and don't know what/where this "dump" should be.
Also, i cannot login in the BugTracker.
I dont have the old setup, anymore, to test this.
And i'm happy, at the moment, that i have no crashes on exit.
But much much Thanks for the support here ^^
Also, i cannot login in the BugTracker.
I dont have the old setup, anymore, to test this.
And i'm happy, at the moment, that i have no crashes on exit.
Set the house on fire, to test the smoke detectors.![]()
But much much Thanks for the support here ^^
Re: Unity APPCrash on Playmode Exit
Happy to know you are happy and thanks a lot for the feedback!
Who is online
Users browsing this forum: No registered users and 275 guests