UE3SDKGenerator
UE3SDKGenerator copied to clipboard
classSize = sizeof(UBoolProperty); Get size error
BUT WHY
GET SIZE IS 144???
All I can recommend is you make sure you know the difference between hex and decimal values for offsets, and double check everything with the C macro offsetof
to make sure you have all your class alignments correct for you compiler.
Okay thanks
I got this same exact error. I ended up hard-coding the size of UBoolProperty to 140 lol. Surely this has something to do with the compiler guessing the sizeof UBoolProperty incorrectly.
If its a compiler issue you might have to manually set the right class alignment for your project, can debug with sizeof and the offsetof macro which you can do yourself easily.
https://docs.microsoft.com/en-us/cpp/preprocessor/pack?view=msvc-170#examples