A user has found and reported a divide by zero warning within the Construction Script when packaging for Windows. This does not occur while in the editor as when you begin moving around the blueprint, it returns a float value of 2.0315.
It seems that somewhere during the packaging/cooking process this float value is discarded or lost. Thereby returning a null value and causing a divide by zero warning message.
I did find a way around this, which was to add a not equal to zero boolean check from the float value. If the value is not zero, then it should print to the log and the screen with the correct float value.
1. Download and Open attached project.
2. File > Package Project > Windows (64 bit)
3. Open the Output Log
Result The output log returns a divide by zero warning
Expected The construction script returns the SizeX of the Texture 2D reference as a float value (2.0315).
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
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How does TextureRenderTarget2D get TArray<uint8> type data?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
How to achieve HLSL Multiple Render Target in Material blueprints?
How can i modify the param name in EQS node
Why does the REMOVE method of map container remove elements have memory leaks?
Head over to the existing Questions & Answers thread and let us know what's up.
9 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.18 |
Created | Jul 21, 2016 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |