Skip to content

Bug: Entity without CollisionComponent don't rendering on prod build #3696

@keasy9

Description

@keasy9

Steps to Reproduce

  1. Make Entity without CollisionComponent (but with TransformComponent and GraphicsComponent, so it can render)
  2. Deploy project to github pages (didn't tried with orher servers, but local build in prod mode doesn't have this issue)

Actual Result

Entities not showing on screen, but showing in Excalibur dev tool. Debug drawing works partialy - shows position, coordinates and names of entities, but now shows graphic bounds.

Environment

  • using vite and pnpm, vue for UI
  • browsers and versions: Firefox 147.0.4 (64 bit) for Windows, Chrome 145.0.7632.109 for Adroid, didn't check other browsers
  • operating system: Win 11 25H2 (26200.7840) and Android 11, didn't check other systems
  • Excalibur versions: 0.32.0, didn't check other versions

Project repository is open, deployed to https://keasy9.github.io/excalibur-space/, issue can be reproduced in 57aacf7dbd7d5b55028b7e9f2df427e83795d23d commit

Also you can notice that I'm using custom Entity class with some getters and setters, but I'm tried to replace it with Excalibur Entity and issue remains.

Current Workaround

Just added ColliderComponent to all entities in project and even in Particles. Didn't specified any collider shape.
Also can be cured by using Actor instead of Entity because Actor always have ColliderComponent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue describes undesirable, incorrect, or unexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions