StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

Improve stability of addon #56

Closed StjerneIdioten closed 4 years ago

StjerneIdioten commented 4 years ago

Describe the bug The addon has stability issues and blender seems to crash a lot. This issue is for collection information about that. So post any info about BLENDER crashing, while using the addon.

From my experience it tends to happen a lot when doing ctrl-z or interacting with the ui.

crisan211 commented 4 years ago

It also crashes when open another .blend file

ssnd292 commented 4 years ago

@crisan211 Does it hang or do straight crash-to-desktop?

Also, please do this:

Open your Blender and remove the i3dio Addon and close Blender.

If not installed, please install Visual Studio Code and the Extension "Blender Development" by Jacques Lucke, which you can find in the Extension tab. Unpack the i3dio.zip into a folder. When you have Visual Code Open, go to "File -> Open Folder" and open the i3do top folder. It should create a panel on the left of Code with a list of all files. Now press CTRL-SHIFT-P and start Blender.

What this will do is basically start this addon in a sort of development mode where you can see the log on the bottom of Visual Studio Code. Maybe there is a message that of whats happening if Blender just CTDs, because I wasnt able to find one so far.

crisan211 commented 4 years ago

Crash to desktop. I already have the program installed. In the next crash, I'll attach the log. One question, the log is "debug console tab" or "terminal tab"?

ssnd292 commented 4 years ago

The more the merrier I guess.

ssnd292 commented 4 years ago

For Reference:

Crash is linked to: Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF65551C0B4 Module : c:\blender-2.83.0-windows64\blender.exe The terminal process terminated with exit code: 11

StjerneIdioten commented 4 years ago

I noticed that older releases didn't have the same stability issue. So i backtracked until I found out where it went wrong and found the root of, if not the problem, then some problem. I have implemented a fix for this in e3bb7c394dd9f5a7f0a35339b5c8e8829d1cf4bf, which is also present in the newest release. I hope this reduces the crashing a bit, but I can't say if it removes it entirely.