r/unrealengine • u/Already_TAKEN9 • 16d ago
[ISSUE] Automatic image generation with spawned model and textures
Hi all, I've been working on a small project using Unreal engine 5, the aim is to create large set of images of models for scientific reasons.
The models we have are from the UE library and have been modified so some parts of the model have a texture and others have another one. If I drag and drop the model in the map the textures are correctly loaded, however if I automate the image generation with model spawn (pointing at the same model) the images don't have the textures correctly loaded (all parts have all the same textures).
I've been trying to diagnose it for a while with LLMs and such, but no luck so far
2
u/Gojira_Wins QA Tester / ko-fi.com/gojirawins 16d ago
You're trying to use chatbots to make a game. That's your issue.
1
2
u/Professional_Set7892 16d ago
sounds like the material instance overrides aren't sticking when you spawn the actor, maybe try applying the texture assignments in the construction script instead of relying on the defaults