🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

String Concatenation Bug in AngelScript SDK 2.35.0

Started by
3 comments, last by WitchLord 3 years, 1 month 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

Advertisement

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

@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