aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.02k stars 540 forks source link

!B Fix stack corruption on non-windows platforms #500

Open mik403 opened 4 years ago

mik403 commented 4 years ago

Hi guys! I am sharing your fix of stack corruption on non-windows platforms

Problem is next - during asset processing convertor serializes DataType enum as 'int', because this is the underlying type of it on msvc/windows.

But after loading it on Clang (for example Orbis or Linux) its underlying type will be unsigned int, which will lead to ton's of erros and stack corruption after

AMZN-Gene commented 4 years ago

This is great! Thank you!