Replacing all occurrences of a Blueprint “float” by hand is by far the most time consuming part of nativizing code. Please consider adding conversion between the two, or let us use single precision floats in BP.
The reason why the native variable doesn’t appear in the Replace References window is because the Blueprint “Float” datatype is double precision while the “float” datatype in C++ is single-precision.
Workaround:
- Declare/Define the native variable as a “double” type and compile
- Use Replace References in the Blueprint
- Change the native variable to “float” type if single-precision is desired and recompile
1 Like
you saved me, thanks. I took 3 hours debugging …