Skip to content

panic: cast causes pointer to be null when creating an OwningGroup without entities #13

Description

@Nomy1

Steps to reproduce

Run the view_vs_groups.zig example but comment the createEntities(&reg) function
https://raw.githubusercontent.com/prime31/zig-ecs/master/examples/view_vs_group.zig

Expected

Program to run as normal. There won't be anything to iterate, but that shouldn't crash the program.

Actual

panic: cast causes pointer to be null

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