Skip to content

Fix spawning of entities in transform examples#310

Merged
waynemwashuma merged 1 commit into
wimaengine:devfrom
waynemwashuma:fix-examples
Apr 4, 2026
Merged

Fix spawning of entities in transform examples#310
waynemwashuma merged 1 commit into
wimaengine:devfrom
waynemwashuma:fix-examples

Conversation

@waynemwashuma
Copy link
Copy Markdown
Collaborator

@waynemwashuma waynemwashuma commented Apr 4, 2026

Objective

Fix a syntax error in transform examples.

Solution

The root cause was an extra trailing comma in component instantiation inside the insertPrefab array, resulting in a crash as undefined is added as a component to the entity.

Showcase

N/A

Migration guide

No migration required.

Checklist

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@waynemwashuma waynemwashuma merged commit 190986d into wimaengine:dev Apr 4, 2026
7 checks passed
@waynemwashuma waynemwashuma deleted the fix-examples branch April 4, 2026 08:06
@waynemwashuma waynemwashuma self-assigned this Apr 4, 2026
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