Failed: FMath::IsFinite(TexelFactor) | Vertex Painting?

Sarlack
Fri, 05 Jun 2020 22:07:45 +0000
World Creation

When I load one of my levels I get this error…
LogOutputDevice: Error: Ensure condition failed: FMath::IsFinite(TexelFactor)

It only happens once per start of the engine, if I load another level and reload the level that caused the error the first time, it doesn’t error again. But if I restart the editor it will happen once again. And I’m pretty sure it only happens in 4.25

I’m wonder if it has something to do with Vertex Painting.

I also get this warning above the call stack when I load the level…
Warning: Spent 0.0s repairing painted vertex colors due to static mesh re-imports! This will happen every load until the maps are resaved.

I re-save like the warning says, but it will still do the same thing the next time I start the editor and load the level.

This level has some buildings made with static meshes that were painted. I selected all the meshes for a house and clicked “Convert selection to Blueprint class”. In the blueprint, the static mesh components are painted like they were in the level. I tried to clear the mesh and reload it, but the paint remains.

Is there a way to paint vertex of a static mesh component in a blueprint or at least clear the paint?
There is a Remove Painted Verticies function in the actor blueprint which i tried in the construction script, but it does nothing.

9 posts - 1 participant