why is 4.15 verifyUsedMaterial throwing up an error?
I'm using Runtime Mesh Component and I have a debug mesh I used to draw stuff. It has a simple material that uses vertex colors. In 4.14 I had no problems with it but now when it tries to draw the debug mesh I get this msg
This message I can skip by hitting f5 in VS. This moves forward like there was no problem. So, what is causing this and can I disable it because it clearly doesn't avoid harm as the game runs fine after.
asked Apr 06 '17 at 07:32 PM in C++ Programming
Are you setting a dynamic material at some interval for your RuntimeMesh ? i am close to fixing this issue on my end, in my case my RTM may or may not have vertices and at another point i am applying a dynamic material to the RTM, which is triggering the above ensure. The first occurs at a timed interval (timer) and the second within Tick, so the above trigger condition in my case is correct because at some point the material will not be the expected one due to an error on my part (syncing the update), i have just disabled the bit that calls (in my code ) mp_RuntimeMesh->SetMaterial(0, mp_DynamicMaterial); and the error goes away. Sorry for the butchered formatting
answered Jul 01 '17 at 02:15 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here