Maniphest T96367

Crash when trying to snap to instances on an object
Closed, ResolvedBUG

Assigned To
Campbell Barton (campbellbarton)
Authored By
David Black (david_black)
Mar 12 2022, 8:01 AM
Tags
  • BF Blender
  • Modeling
Subscribers
David Black (david_black)
Germano Cavalcante (mano-wii)

Description

System Information
Operating system: Linux Mint 20.3 Cinnamon kernel 5.13.0-35
Graphics card: 3400G

Blender Version
Broken: 3.1.0-alpha+master.8c4edd1b379d-linux.x86_64-release.tar.xz (In case helpful; commit causing the crash is possibly between 2021 Dec 27 - 28th)
Working: -

Short description of error
Possibly related to T96536: Modifiers don't work on particle instances of a hidden object
Crash with recent Blender 3.1 / 3.2 versions. Following conditions must apply...

  • Object with a particle system
  • Mesh object used for the particle system has 'Auto Smooth' enabled
  • Camera in a Collection (placed before the object with a particle system)
  • Camera 'Focus on Object' = the object with a particle system

Exact steps for others to reproduce the error

  1. Open file 'Camera 'Focus on Object' - particle system issue.blend'.
  2. with 'Camera' collection placed first, snapping the Cursor or enabling Navigation + gravity + moving using mouse/keys = crash.

Kind regards.

Revisions and Commits

rB Blender

Related Objects

Mentioned In
T101647: Random crashes when using Snaping
T96536: Modifiers don't work on particle instances of a hidden object
Mentioned Here
T96536: Modifiers don't work on particle instances of a hidden object
rBb959f603da45: Fix T96267: Sidebar Tab Font Size Correction
rB03015a9b222e: Cleanup/docs: Add comment to spline lookup factor method
rBcc367908cd69: Cleanup: Remove more texture nodes preview handling
rB79012c678499: Cleanup: Use consistent order for custom data mesh masks
rB20b438d523c9: Cleanup: Use array for BKE cursor functions
rB8c4edd1b379d: Cleanup: clang format
rBc34ea3323a3a: Cleanup: Remove unused node tree "local sync" functions
rBea8d749587dd: Cleanup: Rename ObjectValue to DictionaryValue (Serialization).
rBf19582ebf489: UI: Use property split in curves surface panel

Event Timeline

David Black (david_black) created this task.Mar 12 2022, 8:01 AM
David Black (david_black) updated the task description.Mar 12 2022, 8:06 AM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).Mar 14 2022, 3:11 PM

Thanks for the report but I'm not able to replicate the problem.
How do you switch the collections?
I tried drag and dropping but nothing strange happened:

Also could you test the latest daily build?
https://builder.blender.org/download/daily/

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Mar 14 2022, 3:11 PM
David Black (david_black) added a comment.EditedMar 14 2022, 4:15 PM

Thank you @Germano Cavalcante (mano-wii) for your time and tests.

After some digging, found the first issue is a Blender 3.0 bug, and also happens in 3.1 when using the Splash screen 'Load 3.0 Settings', when previous settings are imported the new 'GPU Subdivision' option is disabled by default.

Preferences > Viewport > Subdivision > GPU Subdivision

If possible, GPU Subdivision = true would be a helpful default when older settings are imported?

`

Just tried blender-3.2.0-alpha+master.b959f603da45-linux.x86_64-release.tar.xz for you... the 3.1 (and newer) crash issue still stands while trying to use Navigation + gravity if the following apply.

3.1 crash:

  • Object with a particle system - linked
  • Camera placed in a Collection (before the linked object)
  • Camera 'Focus on Object' = the linked object

Thanks again.

Germano Cavalcante (mano-wii) changed the task status from Needs Information from User to Needs Triage.Mar 14 2022, 4:41 PM
Germano Cavalcante (mano-wii) renamed this task from Corner case: Collections order - linked object non-functional Modifier - Blender 3.1 crash to Crash when trying to snap to instances on a linked object.Mar 16 2022, 9:32 PM
Germano Cavalcante (mano-wii) updated the task description.
Germano Cavalcante (mano-wii) added a project: Modeling.

I was able to replicate both problems with the new information provided.
I preferred to separate the reports because, although they may be related, each bug was introduced in different versions. And one is affected by GPU Subdvision.

Germano Cavalcante (mano-wii) triaged this task as High priority.Mar 16 2022, 9:34 PM
David Black (david_black) renamed this task from Crash when trying to snap to instances on a linked object to Crash when trying to snap to instances on an object.Mar 17 2022, 5:50 PM
David Black (david_black) updated the task description.
David Black (david_black) added a comment.EditedMar 17 2022, 5:57 PM

Thanks for your continued help. Originally considered creating two bug reports.

Just found today, crash also happens with local (non-linked) objects.
Doesn't matter if 'GPU Subdivision' is enabled / disabled if the mesh used for a particle system has 'Auto Smooth' enabled.

First post updated.

David Black (david_black) updated the task description.Mar 17 2022, 5:59 PM
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Mar 17 2022, 6:59 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".Apr 28 2022, 2:18 PM
Campbell Barton (campbellbarton) closed this task as Resolved by committing rB295b6e8230de: Fix T96367: Crash snapping to instances on an object.May 12 2022, 9:48 AM
Campbell Barton (campbellbarton) claimed this task.
Campbell Barton (campbellbarton) added a commit: rB295b6e8230de: Fix T96367: Crash snapping to instances on an object.