https://github.com/4ian/GDevelop/blob/a83cdd49f40d5bdaded3a1d9b58965c6525a4847/Core/GDCore/Serialization/Serializer.cpp#L175 This can be way too big to put on a stack, and VLA isn't portable. Needs to be some heap storage. Or you you can use a normal Parse() instead of ParseInsitu() but I guess ParseInsitu() might be a little better.
GDevelop/Core/GDCore/Serialization/Serializer.cpp
Line 175 in a83cdd4
This can be way too big to put on a stack, and VLA isn't portable. Needs to be some heap storage.
Or you you can use a normal Parse() instead of ParseInsitu() but I guess ParseInsitu() might be a little better.