question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blender crashes sometimes when opening files with custom logic nodes

See original GitHub issue

Issue to keep track of https://forums.armory3d.org/t/need-help-using-logic-nodes-pack/4231.

When opening a file that uses custom nodes from other packages, Blender randomly crashes sometimes with EXCEPTION_ACCESS_VIOLATION. When building Blender to get more insight about where the error occurs I get some linker errors, maybe someone else is able to build Blender and to reproduce this error and paste a stack trace from Visual Studio?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
MoritzBruecknercommented, Feb 28, 2021

Oh, indeed. This is awesome, great find!

Connecting and disconnecting NodeTrees could be done with scripting, I guess.

Maybe it would make sense to add this to Armory itself until the bug is fixed? I hope that the latter will happen soon, if I remember correctly the Blender devs announced that there will be another bug sprint in a few months and there recently was some action in a similar issue (I subscribed to a few related issues on the Blender bug tracker).

3reactions
ztophcommented, Feb 27, 2021

Maybe this isn’t new or just the logical conclusion from what has been found out about the bug already, but I realized this: For me, Blender doesn’t crash when opening the blend-file itself. The crash only occurs, when

  1. I create some random Logic Node via the Node browser
  2. the Libraries-folder with some custom node is next to the blend file
  3. the NodeTree I want to edit is set up as a Trait Item on some scene object (via Object Properties -> Armory Traits)

If the NodeTree I want to edit is NOT connected, the crash never occurs.

So my workaround is to load the blend-file, remove the Nodetree I want to edit from EVERY object it’s used by, save the blend-file, close Blender (maybe not needed), open the blend-file again, connect the NodeTree back and I’m good to go. I can work on everything without Blender crashing (as a matter of prudence, disconnect the Nodetree again before saving).

Not great and definitely not comfortable, but works reliably. Connecting and disconnecting NodeTrees could be done with scripting, I guess.


Configuration: Windows 10 (Version 2004) / Blender 2.838 / tested with Armory SDK 2020-6, 2020-11, 2021-02

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashes — Blender Manual
The most common causes of Blender crashes: Running out of memory. Issues with graphics hardware or drivers.
Read more >
Why does my blender crash when I open a file?
1 Answer 1 · Make sure you are in solid mode or cycles rendering mode during your last save. · Get a better...
Read more >
Blender/UPBGE Basics
Although you can customize all aspect of Blender/UPBGE, in this manual, we will assume you are using the default Blender/UPBGE settings and shortcuts....
Read more >
Frequently Asked Questions on Verge3D - Soft8Soft
When I export my scene to Verge3D I see nothing (or just the background). · You camera is not configured properly. · This...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
systemPrefs with at least two files" status:RESOLVED resolution:OBSOLETE ... Bug:155253 - "media-plugins/vdr-channelscan-0.1.0 sometimes crashes vdr while ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found