I was looking forward to switching from 2.0.0 to 2.1.0 given that our wonderful @v-ein has managed to fix the notorious issue relating to window resizing event not propagating down properly as explained in PR#2521. But unfortunately after upgrading to 2.1.0 by installing directly to Blender's python via "python.exe -m pip install dearpygui==2.1.0 I was meat with unpleasant surprise of instant crash whenever running a script that creates a viewport.
I've tried troubleshooting this issue myself (as a layman) by running numerous new and old(proven and tested in previous version) scripts of various complexity, from the most complex(pygui_demo.py) to the most simplest, but I was met with the same result, an instant crash that is. When reverting to previous version the issue goes away. I even switched between different Blender versions (despite knowing how ridiculous that is) hoping that the issue is somehow Blender related, but no... it persists across all versions from Blender 4.1 to 4.5. So yeah, I don't think the issue lays in Blender. Just in case I also checked the version I'm running the script on, and it properly displayed 2.1.0
The error is a typical exception access violation. The crash log/report more or less states states that the error occurs in line 9601 in dearpygui.py file which is located in Blender's site-package library.
OS: Win11 Home
I was looking forward to switching from 2.0.0 to 2.1.0 given that our wonderful @v-ein has managed to fix the notorious issue relating to window resizing event not propagating down properly as explained in PR#2521. But unfortunately after upgrading to 2.1.0 by installing directly to Blender's python via "python.exe -m pip install dearpygui==2.1.0 I was meat with unpleasant surprise of instant crash whenever running a script that creates a viewport.
I've tried troubleshooting this issue myself (as a layman) by running numerous new and old(proven and tested in previous version) scripts of various complexity, from the most complex(pygui_demo.py) to the most simplest, but I was met with the same result, an instant crash that is. When reverting to previous version the issue goes away. I even switched between different Blender versions (despite knowing how ridiculous that is) hoping that the issue is somehow Blender related, but no... it persists across all versions from Blender 4.1 to 4.5. So yeah, I don't think the issue lays in Blender. Just in case I also checked the version I'm running the script on, and it properly displayed 2.1.0
The error is a typical exception access violation. The crash log/report more or less states states that the error occurs in line 9601 in dearpygui.py file which is located in Blender's site-package library.
OS: Win11 Home