From c30d457b1c86f291d3d6e0891686d0fb3f813f86 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 29 Dec 2025 22:05:01 +0100 Subject: [PATCH] Add unit test of code from #3858 to ensure stability --- Source/Engine/Tests/TestScripting.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Engine/Tests/TestScripting.h b/Source/Engine/Tests/TestScripting.h index 10a1cf2b8..ca13ac307 100644 --- a/Source/Engine/Tests/TestScripting.h +++ b/Source/Engine/Tests/TestScripting.h @@ -204,6 +204,9 @@ public: { return str.Length(); } + + // Test parameter passing with non-cost ref + API_FUNCTION() virtual void StringParamRef(String& str) {} }; // Test debug commands via static class.