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

Fix : null pointer crash #8326

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix : null pointer crash #8326

wants to merge 1 commit into from

Conversation

seker
Copy link

@seker seker commented Dec 23, 2024

the 'target_node' of Animation Channel may be nullpointer.

@seker
Copy link
Author

seker commented Dec 23, 2024

For example:

"animations": [
    {
        "channels": [
            {
                "sampler": 0,
                "target": {
                    "extensions": {
                        "KHR_animation_pointer": {
                            "pointer": "/materials/65/emissiveFactor"
                        }
                    },
                    "path": "pointer"
                }
            },
            {
                "sampler": 1,
                "target": {
                    "extensions": {
                        "KHR_animation_pointer": {
                            "pointer": "/materials/43/emissiveFactor"
                        }
                    },
                    "path": "pointer"
                }
            }
        ],

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

Successfully merging this pull request may close these issues.

1 participant