Amerio.Stephane Posted October 20, 2025 Posted October 20, 2025 Hello, Trying to debug a master-slave IG configuration, here: I get this message on the slave (inifinte repeat) Slave::read_material(): can't find material "ed736a84c1f3c486ce155379ee75ae98fa26d68e" But the GUID given can't be found anywhere in any file (I did a thorough search). I suspect this ID is computed by the slave, from some master ID, but how do I find the cause? More strangely, both master and slaves have the exact same files and code, so why would such an error occur? If this helps: stack trace from the slave: Could this be from a runtime generated texture (our rotor blades)?
Amerio.Stephane Posted October 20, 2025 Author Posted October 20, 2025 Found it. Stupid me. In case it could help others...: I was using syncker->addSyncMaterial() on the master after calling getMaterialInherit(), hoping the slaves would magically use the inherited material. Of course it doesn't work. Now, the fix I used: change the component to a NetworkComponentBase, and use a NET_DEFINE_SLOT/NET_CALL to send the parameters to the slaves so they can reapply the correct changes.
Recommended Posts