Linked Collection not recognize by logic nodes

Hi guys,

First time making my own post here. I have encountered something I am not sure if it’s a bug, or just the way Blender2.9/Armory works with regards to Linked Collections objects. I noticed I can link in a collection from another blend file into the current scene, and run an Armory game successfully. If that linked Collection contains objects that has Armory node trees attached as traits, those logic will work too when you play the game. However, what doesn’t work is trying to apply any new node tree logics in the current scene to the Linked Collection object. I have tested quite a few logic node commands such as “On Volume Trigger”, “Print”, “Get Location”, Translate Object", etc. They all seems to fail at outputing anything meaningful when those commands are acting on the Linked Collection object. I have included both the Blender 2.9 test blend file and the linked blend file.

collection_for_logic_node_bug_test.blend (771.6 KB) collection_logic_node_bug_test.blend (801.6 KB)


In this scene setup (collection_logic_node_bug_test.blend), I have setup two cubes with dynamic rigid body, one is a geometry object and the other is a linked Collection object from an external blend file (collection_for_logic_node_bug_test.blend). Both cubes starts from a height of 2 Meters and falls down when the game is ran. I have setup the scene to print the Z location values of both cubes to the system console window with the “On Update” event. When you run the game, you can clearly see that regular cube’s z position value is tracked and changes as it reaches the floor plane. However, even though both objects falls the same way visually, the z position value of the linked Collection object does not get tracked properly and appears to be constant. It’s not Halloween anymore, so If anyone have more insight and can confirm whether this behavior is a bug or not, that would be great!

As of the writing of this post, I did a bit more research and had discovered that one work around to this problem was to run “Make Library Overrides” command on the linked Collection object. This would exposes the objects that makes up the collection. With those objects inside of the linked Collection exposed, you can run the logic node commands on them. But still, it would be nice if the Linked Collection object would be properly referenced by the logic nodes in the scene as is.

1 Like

Hi.

  1. We wrote it many times, and even added a warning, but again: for Armory to work correctly, you must use Blender 2.83.* :slight_smile:

  2. If on the subject, if the Make Library Overrides setting helps, then there is no problem. Either you need to indicate this in guides, documentation, or try to follow the conditions for using nodes: if a node refers to a Collection object, then set this setting automatically. But is it possible to trace this, that is the question…

3 Likes