Geometry Nodes + Shader Editor + Asset Browser bug #103768
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#103768
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: macOS-13.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.9.51
Blender Version
Broken: version: 3.5
7bf75231e8c5
, 3.4.155485cb379
Worked: (latest 3.3.2 for Mac Intel)
Short description of error
Geometry Nodes Editor + Shader Editor loads in all marked, related assets from Asset Browser causing crash and memory overload
Exact steps for others to reproduce the error
Assets.zip
asset-library-indices.zip
Added subscriber: @levybergman
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Needs User Info'
Hi, thanks for the report. As far as I can tell this has been fixed in 3.5: #103187
Resolving commit was also backported to 3.4.1 but looks like it did not fix the problem: #102967/e01b98cdb6
Can you check whether slow loading of menu is really fixed for you in 3.5?: https://builder.blender.org/download/daily/
Hi Pratik, thanks for your quick reply and help!
I just tested the recent Blender 3.5 Alpha
7bf75231e8
version for Intel Mac and it has exactly the same issue. Right after I open Geo Node editor and hit SHIFT+A node look up, Blender starts load in all the Asset Browser contents and easily end up with an 8 Gb file memory.Let me know if I can provide any more details or info to help development and fix this issue. If the 3.3 LTS will be the latest and last version of Blender what film studios can use, it should be addressed because 99% of editors are working on Intel Mac computers because of AVID editing software versions and licenses.
Thanks!!
Hi, is it possible for you to share simplified asset library with us?
Right now we don't really have concrete steps for reproducing this issue locally.
yes, I will put together a mixed asset library with geonodes and simple objects and will share with you. Give me a day to do it, please. Thank you for your help!
Hi Pratik,
I quickly tested out a freshly installed official Blender 3.4.1 on the same computer I reported from. Didn't install any add-ons, didn't activate any official add-ons. Ran a plain, vanilla Blender.
Saved only 3 file paths for Asset Browser - see in attached pictures and attached libraries - and opened Geometry Node editor with a simple box geometry.
Geometry Node editor immediately started to read the assets, just like the Asset Browser and triggered the Assets Indexing function and saved the indexes in cache - see attached folder - ergo Geometry Node editor either linked or totally behaves as Asset Browser.
If you have any more questions and need more details, please let me know!
Thanks!
Assets.zip
asset-library-indices.zip
Changed status from 'Needs User Info' to: 'Needs Triage'
Hi, thanks for the requested information. I'm still unable to repro this. Will ask others to check this.
BTW, how much RAM do you have?
Did you test with clear Cache folder in the app?
With no Asset Library cache?
Thanks
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Needs User Info'
I followed the mentioned steps, (the download took a few hours) but even with the assets loaded, I can't replicate the bug, either in the material nodes editor or in the geometry nodes.
None of the nodes in the assets appear in the {key Shift A} menu, (weird this causes memory overhead in your case).
The memory has not changed in my case.
Please try the latest daily build: https://builder.blender.org/download/
Go to File → Defaults → Load Factory Settings and then load your assets to see if you still can reproduce this issue.
If the problem persists, please give us more clear instructions on how to reproduce it from scratch.
System Information
Operating system:
macOS-13.1-arm64-arm-64bit 64 Bits
Graphics card:
Metal API Apple M1 1.2
This comment was removed by @levybergman
Hi Germano,
thanks for your help and testing out the issue.
Let me ask, if there's any difference between Intel and Arm coding in Blender?
I see you have tested it on a Apple M1, and we're here running Intel Macs only so far.
I did a basic test again with a totally clean slate - FACTORY SETTINGS - and I need to tell you all:
On INTEL MAC computers
I set up the links to Asset Libraries in Preferences.
Opened Asset Library window and opened all the linked Asset folders, therefore in computer's Blender cache folder - if you open User/Library/Cache/Blender - there's a generated ASSET-LIBRARY-INDICES folder with all the registered assets inside Blender.
Once you registered all of your assets in Asset Library and have the Asset indexing files in place, you can open Geometry Node editor and press SHIFT+A and Geometry Node Editor will look at the same cache folder and won't waste time with indexing assets.
If you open Geometry Node editor first, before creating ASSET-LIBRARY-INDICES in Blender cache, the Geometry Node editor will do the Asset indexing all at once and therefore will load all the assets and crash.
Let me know if it's not clear or need more testing, explanation.
Thanks!
Added subscriber: @iss
Can't reproduce on
Operating system: macOS-13.0.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5700 XT OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.9.48
@levybergman can you upload crash report?
Hi Richard,
I used the latest blender-3.4.1-stable+v34.ef9ca44dee7f-darwin.x86_64-release.dmg version to reproduce the issue.
Blender didn't give me crash report even with the saved file, but our Mac did. The same thing happens: automatically starts Asset Indexing and depending on your asset collections, it just crashes after 5Gb - even if I turn OFF Asset Indexing in Developer Extras.
Let me know if I can get you more information.
Thanks,
Levy
Crash_Blender_3.4.rtf
Crash_Blender_3.4.pdf
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
Could be memleak in GPU driver. Can you check if this happens in 3.5 alpha and Metal backend? Go to Preferences > System > GPU Backend (not cycles render device) and chose Metal.
{F14161352}>>! In #103768#1475640, @iss wrote:
Just tested GPU Backend in 3.5. today's version.
It produces exactly the same Asset Browser reads and crash as 3.4 and 3.4.1
Also, if I import all the settings from 3.3.3 and just modify to GPU Backend, Blender won't even restart - just crashes immediately right when you try to open it.
Also, in 3.5 on Intel Mac won't highlight meshes if you click on them.
Geometry Nodes editor won't crash Blender 3.4.1 daily built if you use existing ASSET-LIBRARY-INDICES.
Otherwise, when you connect your Asset Library folders, it would index them immediately - even if you turn off this option in Developer Extras.
Blender 3.3.3 works flawlessly even if we modify the Asset Libraries and need to remove previous indexing and restart. Blender 3.3.3 just works perfectly fine as it used to be.
Let me know if you want me to test further and/or need any more information.
Thanks,
Levy
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @JulianEisel
From hardware list I see, that @JulianEisel has similar hardware, perhaps he can check
Hello lovely Blender developers,
I'm 100% sure you're all very busy preparing to 3.5 release but I need to ask if there will be any chance to get solutions for recent issues in 3.4.1 on macOS Intel?
Will there be any improvements in 3.5 or consider 3.3 LTS as the last stable release on macOS Intel and that's it?
Thanks in advance for your help!
Levy
Could it be that this was related to #104305 (and therefor fixed in 3.5 or 3.6)?
@levybergman : could you re-check in a fresh build from https://builder.blender.org/download/daily/?
Just checked. NOT SOLVED AT ALL.
It's still doing it.
In Geometry Nodes editor you press SHIFT+A to search for node, it triggers immediately asset browsing inside Blender, starts to increase the memory and occasionally leads to crash, unless you have all of your libraries related "asset-library-indices" saved.
Whatever changed since 3.3LTS it messed up on Intel Macs the Asset Browser and Node Editor relations.
3.4 was absolutely useless. Like it doesn't exist.
3.5 is more stable but we also learned to transfer all asset-library-indices whenever we change computer otherwise it's just crashing.
If someone would finally listen at Blender and would check out Asset Browser and Node editors connection, that would definitely help.
OK, returning here (sorry it took a while).
So, 3.4 introduced the node group assets to search menus in Node Editors, see
bdb5754147
This is a feature, I would expect the Node Editors to create an index here, this alone I would not consider a bug.
What I still dont get from reading through this:
-- this might be because the Asset Browser reads in some stuff in a "sliding window" fashion (so not all at once)
Thanks Philipp,
it was kind of obvious that it was a newly introduced feature, which is still creates a lots of issues if we’re moving projects to a new computer without prepared asset indexes.
Is there a way to ignore it or turned it off?
Thanks,
Levy
Well, we have the potential huge memory consumption (plus crash?) when creating the index [which nobody here including me can reproduce afaict -- i myself have quite big asset libraries in addition to what I downloaded here and the indexing only takes a couple of seconds with no real memory hit as you are apparently experiencing].
Do we have other problems?
You also havent answered yet if the Asset Browser itself behaves better?
Not that I am aware of, disabling Asset Indexing in Experimental will reload from disk all the time (certainly not what you want either).
Asset Browser doesn’t behave differently.
Asset Browser works perfectly fine.
Geo Node editor is problematic with this feature.
My question was about turning off asset indexing in Geo Node editor.
Other issue is in Geo Node editor switching node ( SHIFT + S ) doesn’t work.
Thanks,
Levy
It is not different from the Node Editors? [I thought these were taking up huge amounts of memory -- and crash? How can that not be a problem in the Asset Browser?]
Indexing you turn OFF in experimental Preferences (doing that will read from disk more often -- it works here though, it does not create folders in
/home/me/.cache/blender/asset-library-indices
then), I doubt though that this will give you a better experience?You cannot turn OFF loading/searching assets as a whole in Node Editors though.
This is totally unrelated -- it is a Node Wrangler Addon request/report which is irrelevant here (feel free to drop this here https://projects.blender.org/blender/blender-addons/issues)
The using practice of the Asset Browser is totally different. You register a folder with assets and open it - ergo create indexes - rather than opening everything at once and scanning it like Geo Node editor does.
I’m not saying it wouldn’t crash if it would open and scan - indexing - everything at once, but the average usage of the Asset Browser doesn’t indicate.
Than Node Editors will be messed up since 3.3 LTS
It is what it is.
Will definitely report it. Thanks.
Well it does index everything by default now since the
All
entry is the default now in the Asset Browser:Unless we could reproduce the enormous memory consumption (with possible crash), I would not say this is true, so we still gotta find a way to repro that
Yes it does, but it never crashed after it was fully loaded, every single asset folder was registered.
It doesn’t crash, but Node Editors.
From the provided crash logs:
So crash seems to be in nlohmann's JSON library [possibly on Intel Macs only].
@Jeroen-Bakker @JulianEisel @dr.sybren : does this ring a bell somehow?
Or maybe @HooglyBoogly would know?
Seems like an unhandled exception. This could be caused by invalid unicode character handling, I've seen issues with that before, and the JSON library we use throws exceptions for this by default.
Are there any unicode characters at play here, e.g. in file paths/names, asset names, asset descriptions, tags, etc? May not be easy to check in large libraries, but maybe you know offhand.
Hi Julien,
nope, no unicode in libraries and assets.
Thanks,
Levy
I tested it on a Mac Mini I5 (MacOS 12.5) And it doesn't crash for me here.
I ran a debug build of Blender 4.0
Blender has some logging in this module. Is it possible for you to start Blender from the command line with the next command line argument and see where in the process it is.
/Users/jeroen/blender-git/build_darwin/bin/Blender.app/Contents/MacOS/Blender --log "ed.asset"
You need to change the path to where you have installed Blender.app.
@JulianEisel @lichtwerk
Is there a way to connect Node Editors especially Geometry Nodes Asset Browser indexing feature to Node Presets? Therefore it will give an option to use it or not?
Thanks, Levy
Have we tried this?
No.
No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.
Thanks again for the report. If the problem persists please open a new report with the required information.