Fix #19: Lua crashes when spawning entities in optimized builds #27

Merged
SeanOMik merged 4 commits from fix/scripting-switch-to-mlua into main 2024-09-30 01:39:40 +00:00
Owner

See #19

See #19
SeanOMik added 4 commits 2024-09-30 01:38:33 +00:00
8fb686b7fe
scripting: switch to mlua, scripts need to be tested and fixed
currently the lua-scripting example doesnt work. For some reason the userdata's metatable is a boolean...
CI / build (pull_request) Failing after 3m35s Details
ef2b0bf326
ecs,scripting: fix invalid resources being passed to lua
The issue was World::get_resource_ptr, it was returning a pointer to the AtomicRefCell instead of the actual resource data
SeanOMik added the
Kind/Bug
Priority
High
labels 2024-09-30 01:38:47 +00:00
SeanOMik merged commit 958c86cf73 into main 2024-09-30 01:39:40 +00:00
SeanOMik deleted branch fix/scripting-switch-to-mlua 2024-09-30 01:39:40 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SeanOMik/lyra-engine#27
No description provided.