This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
globalobjectid [2021/02/09 02:15] uninomiconadmin ↷ Links adapted because of a move operation |
globalobjectid [2021/02/11 20:33] uninomiconadmin [Bug: Querying deleted objects] |
||
---|---|---|---|
Line 22: | Line 22: | ||
==== Converting a Prefab Gid to an Unpacked Gid ==== | ==== Converting a Prefab Gid to an Unpacked Gid ==== | ||
- | |||
You can convert between the two using the following formula:(( | You can convert between the two using the following formula:(( | ||
Line 46: | Line 45: | ||
++++ | ++++ | ||
+ | ===== Bug: Querying deleted objects ===== | ||
+ | When calling '' | ||
+ | |||
+ | For example, in this case, when passed an array of only scene objects: | ||
+ | {{ : | ||
+ | |||
+ | The function will return non-scene objects (the shader editor asset at 205). | ||
+ | {{ : | ||
+ | |||
+ | This seems to be a bug. The correct result should have been '' | ||
+ | |||
+ | I have had some luck < | ||
+ | |||
+ | Update: This is fixed in 2021.1 [[https:// | ||
+ | |||
+ | {{backlinks> |