Page 1 of 1
[2.0.32] LuaRecord#default_icons is stale for game.blueprints
Posted: Mon Jan 27, 2025 7:24 pm
by hgschmie
I have created a blueprint and stored it in the game blueprint library. It had, by default, two combinator icons.
I replaced those icons with some other combinators. It now looks like this:

- Screenshot 2025-01-27 at 11.22.39.png (53 KiB) Viewed 442 times

- Screenshot 2025-01-27 at 11.23.00.png (125.54 KiB) Viewed 442 times
But when I look at the blueprint in the debugger, it still shows the old icons (that I have overwritten):

- Screenshot 2025-01-27 at 11.21.36.png (75.72 KiB) Viewed 442 times
Not sure what to do here. Is there another way to get at the blueprint icon?
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Posted: Mon Jan 27, 2025 7:43 pm
by Rseding91
Thanks for the report however this is correct. "default_icons" reads the default icons, not the custom ones.
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Posted: Mon Jan 27, 2025 8:34 pm
by hgschmie
Ok, in that case please indulge my stupid question but how do you get / set the custom ones? I can't seem to figure that out?
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Posted: Mon Jan 27, 2025 8:38 pm
by Rseding91
There is no current way to do that for blueprint records. I forwarded this onto the person who implemented LuaRecord to look into.
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Posted: Mon Jan 27, 2025 8:48 pm
by hgschmie
Thank you for the quick answer.
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Posted: Thu Feb 06, 2025 11:44 pm
by hgschmie
I guess this is now "fixed in 2.0.34" ?
Scripting:
- Added LuaRecord::preview_icons read/write.