Fix regression from recent scripting fixes/features on 1.5

This commit is contained in:
Wojciech Figat
2023-01-10 16:13:53 +01:00
parent eebc4951de
commit 6ef5c76e1a
3 changed files with 11 additions and 5 deletions

View File

@@ -1342,7 +1342,7 @@ namespace Flax.Build.Bindings
// If platform supports JITed code execution then use method thunk, otherwise fallback to generic mono_runtime_invoke
var returnType = functionInfo.ReturnType;
var useThunk = buildData.Platform.HasDynamicCodeExecutionSupport;
var useThunk = false; //buildData.Platform.HasDynamicCodeExecutionSupport; // TODO: fix marshaing some types when using thunks on dotnet7
if (useThunk)
{
// Convert parameters into managed format as boxed values