Skip to content

Crash on UV access #3

Description

@MootoolsSoftware

Hello,

I tried out usd2glb, and I found some crash on some meshes coming from the apple quick look gallery.

Gramophone.zip

For example on this gramophone, the crash occurs on

if (diffuse_connection.has_value())
{
...
	if (uv_connection.has_value())
	{
		std::string path_uv = uv_connection.value().prim_part();
		const tinyusdz::Prim* pshader2 = stage.GetPrimAtPath(tinyusdz::Path(path_uv, "")).value(); 💣💣💣

It seems that there is a problem in the way the different UV set are accessed.

Thanks,
Manuel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions