For my mod I pack all the textures in one .pack file.
When I first enter the game, all images for objects defined in the script files are not loaded.
If I restart game, everything starts to work.
P.s. All tilesheets are loaded immediately.
Error detected in versions 40.43 and 41.36.
https://youtu.be/2z_kvLzwtW8