Fix managed wrapper function parameter handling for BytesContainer

This commit is contained in:
2025-12-23 00:36:57 +02:00
parent 3008d8037d
commit 24b8ad77fe

View File

@@ -949,7 +949,7 @@ namespace Flax.Build.Bindings
// BytesContainer
if (typeInfo.Type == "BytesContainer" && typeInfo.GenericArgs == null)
return "MUtils::ToArray({0})";
return $"MUtils::ToArray({value})";
// Construct native typename for MUtils template argument
var nativeType = new StringBuilder(64);