View Single Post
07/13/21, 01:48 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
I think this is no bug but intended.
It should work if you "interact" with the companion and the companion menu is opened first.
Most of the API functions with _actorCategory_ GAMEPLAY_ACTOR_CATEGORY_COMPANION work afterwards afai realized.
Only some others like the "check if item is owned by companion" work inside the normal inventory as they only need to read some data of the item itsself.

Just "unhiding" the companion will neither work (or adding the fragments to other shwn scenes).
Had the same with some other functions, the interaction is needed so that these functions will get a flag "companion menu was properly summoned".

Not sure why collectibles also need the menu to show, maybe some internal initialization needs to be done to the companions first, by creating the menu.