RadeonProRenderBlenderAddon icon indicating copy to clipboard operation
RadeonProRenderBlenderAddon copied to clipboard

CTD when using Interactive quality in a complex scene

Open krzysztofKKW opened this issue 3 years ago • 7 comments

Issue

When using Interactive quality in a complex scene, blender crashes to desktop due to a Memory Access Violation in module HybridPro.dll Previously with Blender 3.2 and Addon 3.4 I've had it throw a python error, but I've updated and now it outright causes a memory violation.

System Setup (Environment)

Windows 10 21H2 AMD Radeon RX 6600 XT + Ryzen 5 3600, Adrenalin 22.10.3 Blender Version 3.3.1, Addon 3.5 Rendering using GPU

Detailed Description

The crash log is available here: test.crash.txt

krzysztofKKW avatar Nov 22 '22 21:11 krzysztofKKW

I have tried doing the same thing on Linux. It doesn't crash there but throws a python error in the same module instead.

krzysztofKKW avatar Nov 22 '22 22:11 krzysztofKKW

Is it possible to attach the scene?

bsavery avatar Nov 23 '22 00:11 bsavery

Unfortunately it contains licensed models, so that's not possible

krzysztofKKW avatar Nov 23 '22 00:11 krzysztofKKW

hi, could you try to separate scene by collections, and try to render not all scene, maybe one part of the scene provide this error

ARozghon avatar Nov 23 '22 11:11 ARozghon

With extensive testing I have found the exact problem: The crash is caused by the shader of a hair particle system

Steps to reproduce:

  1. Spawn monkey,
  2. Add hair particle system to it,
  3. Switch to RPR with quality mode interactive,
  4. Go into shading tab and add a shader to the hair,
  5. Plug in Principled BSDF into the material output,
  6. Plug in any color value into the emission field. Blender will crash as soon as you connect any value into the emission field of the hair's Principled BSDF shader.

krzysztofKKW avatar Nov 30 '22 02:11 krzysztofKKW

thank you for the steps information

ARozghon avatar Nov 30 '22 05:11 ARozghon

confirmed with all tested systems, created a ticket for developers

ARozghon avatar Dec 01 '22 15:12 ARozghon