Values stored inside variables becomes corrupted after creating an FBufferArchive variable (FBufferVar), setting FBufferVar.ArForceByteSwapping = true; and then storing the original value in FBufferVar
float foo = 1234.56789e+20; FBufferArchive ar; UE_LOG( LogTemp, Warning, TEXT( "Original value: %g" ), foo ); ar << foo; UE_LOG( LogTemp, Warning, TEXT( "Before Serialization: %g" ), foo ); ar.ArForceByteSwapping = true; ar << foo; UE_LOG( LogTemp, Warning, TEXT( "After Serialization: %g" ), foo );
Result:
Original & Before serialization values are equal however the value of foo printed to the output log changes after setting ar.ArForceByteSwapping = true;
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
What method is used to fill polygonal regions when drawing spline mesh at run time?
How does TextureRenderTarget2D get TArray<uint8> type data?
How does UMG set overlapping layouts?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.10 |
Created | Nov 16, 2015 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |