Commit bf3d5a2
authored
fix(Lua): Correctly handle non-container Out-params in function calls
When a UFunction with an Out-parameter that is not a Struct or Array
is called from Lua, a placeholder table is expected on the stack.
The previous logic did not pop this placeholder table from the stack,
leading to stack desynchronization on subsequent parameter processing
and causing a crash or incorrect behavior.
This commit adds the necessary to ensure the
stack is correctly handled, resolving the issue.1 parent fb22cb3 commit bf3d5a2
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| |||
0 commit comments