Advertisement

String Concatenation Bug in AngelScript SDK 2.35.0

Started by April 30, 2021 03:38 PM
3 comments, last by WitchLord 3 years, 7 months ago

We're updating the version of Angelscript packaged with our software to SDK 2.35.0, but I've encountered a bug that breaks many of our existing scripts. This was tested on Win64 with Visual Studio 15 2017 using CMake 3.18.2. If a string type identifier is used in a string addition expression, Angelscript will crash. Without the string identifier everything works fine. For example:

string a_str = string("b_str") + string("c_str"); // This will crash Angelscript 2.35.0

string a_str = "b_str" + "c_str"; // This works in Angelscript 2.35.0

Has anyone else experienced this issue or is able to replicate it?

Thanks,

Justin

I believe this is already fixed.

Try the latest WIP version available here:

http://www.angelcode.com/angelscript/wip.php

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

@WitchLord It does appear to be fixed in the latest WIP version. Thanks!

-Justin

Thanks for the confirmation. ?

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement