# How to apply geonodes while retaining UV mapped geometry materials?

I've seen similar questions but this one is probably the most edge case. I have geometry with UV mapped textures:

But when I toggle realize instances:

Moreover I'm instancing meshes with dual slots for its materials:

Is it simply not possible? I'm trying to export this to unreal engine 5 using Datasmith format. Would highly appreciate any help!

• Is there a particular reason why you use the Realize Instances node? Jun 25 at 9:01
• One more try: You obviously only use instances and existing geometry here, which you transform, and don't create any geometry with Geometry Nodes. Then why do you use the node Realize Instances at the end? Jun 26 at 11:25
• @quellenform sorry for the late response. Applying geometry without realize makes the geometry disappear upon application... Jun 26 at 12:06

Previous versions unfortunately discarded the UVMaps of the instantiated objects as soon as the node Realize Instances was applied.
• In this case you would have to apply the material to the original objects, or assign it via Set Material. The material on the object containing the geometry nodes is irrelevant. Jun 26 at 17:16