Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gaffer Cycles Crashes Everytime Parameter Has Changed #5160

Closed
raumafu opened this issue Feb 21, 2023 · 6 comments
Closed

Gaffer Cycles Crashes Everytime Parameter Has Changed #5160

raumafu opened this issue Feb 21, 2023 · 6 comments

Comments

@raumafu
Copy link

raumafu commented Feb 21, 2023

Version: Gaffer 1.2.0.2 - Window (e.g. 0.47.0.0-linux)
Third-party tools: List any third-party tools in use (e.g. Arnold, Tractor)
Third-party modules: List any third-party Gaffer modules in use (e.g. proprietary plugins)

Description

Gaffer Cycles Crashes Everytime Parameter Has Changed and i get these errors. Happens everytime, especially when changing parameters on the principle shader

Steps to reproduce

Start interactive render
Change parameters on principle shader
Crashes

Gaffer_Video.zip
Screenshot and file

Debug log

Click to Expand

WARNING [IECoreCyles::GeometryAlgo::convertPrimitiveVariable] Primitive variable "rman_autoBias" has unsupported type "ShortVectorData".
WARNING [Cycles::SocketAlgo] Unsupported socket type `transform` for socket `ob_tfm` on node `shader:3f106048d3c33c1aadd28cfec0fd37d3:texture_coordinate`.
WARNING [IECoreCyles::GeometryAlgo::convertPrimitiveVariable] Primitive variable "rman_autoBias" has unsupported type "ShortVectorData".

@murraystevenson
Copy link
Contributor

From a quick scan of that script I suspect this is likely the same issue as #4913. Could you please confirm by disabling the MeshType node named "subdivide" in your example script and seeing if the crashes continue?

@raumafu
Copy link
Author

raumafu commented Feb 24, 2023

I've disabled the meshType, crashed.
I've disconnected from the graph, still crashes.

@johnhaddon
Copy link
Member

Are you able to share the Alembic file that goes with this script? That would be a big help in trying to reproduce the crash here so we can fix it.

@raumafu
Copy link
Author

raumafu commented Feb 24, 2023

https://renderman.pixar.com/stirling-materialx-lama
Download Project as Maya files and the car in the cache/alembic/Stirling_Exterior.abc

@johnhaddon
Copy link
Member

I believe this is the same problem as #4913. The cache contains subdivision surfaces, so even with the MeshType node disabled, there are still subdivision surfaces in the scene. If you keep the MeshType node but set the type to Polygon, then the crashes go away.

The question for us is, are we exporting subdivs to Cycles wrong, or are we doing it right and the bug is in Cycles?

@johnhaddon
Copy link
Member

Closing as duplicate of #4913.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants