armory icon indicating copy to clipboard operation
armory copied to clipboard

Tilesheets of linked Objects do not get included into the main file

Open JAWS81 opened this issue 3 years ago • 3 comments

Thank you for contributing to Armory!

Description When linking an object which has a tilesheet attached to it. The tilesheet as well its action do not come over. An error gets thrown and you get a black screen. When you create the tilesheet new as well its action with the same name as in the linked file in the linked material the error doesn´t appear but the tilesheet is still not playing.

To Reproduce Link "Tux" from the tilesheet example into an new file.

Expected behavior Tilesheet and its action shall come over to the new file.

System Blender: 2.93 Armory: 2208 OS:Win11 Graphics card:RTX2080Super

Test File (drag & drop the zipped .blend file here)

JAWS81 avatar Sep 07 '22 02:09 JAWS81

Here is aditionally the Test file, didn´t have enough time when I first posted this.
linked_tilesheet.zip

JAWS81 avatar Sep 18 '22 19:09 JAWS81

The problem is that the tilesheets are not stored on an object (or its materials), but on the "Arm" world that Armory uses to store some file-related data. This could be quite difficult to solve, for now you probably need to copy the tilesheets manually... We either need to find a way to tell Blender that the tilesheet data is needed when linking, or we need to store it with the material for example, in which case it will require some changes to the tilesheet system that may be less user-friendly.

MoritzBrueckner avatar Sep 20 '22 21:09 MoritzBrueckner

Okay, thanks for now. Maybe we can keep this in mind for the future. Guess I already got a work around. As I already created the tilesheet new in the main scene to get rid of the error message I will just spawn them on the respective locations "on init ".

JAWS81 avatar Sep 20 '22 21:09 JAWS81