Properties without TSubclassOf<> dont appear in editort

hello,
i have created a class named weapon and in it a few UPROPERTY’s :

when i create a child blueprint and open it, i can see the properties in the “partial editor” but when i open the full editor, the properties are not there.

i noticed that if i add TSubclassOf it works fine.
i would like to know why, and how it is still shown in the “partial editor”

Hey there, have you tried restarting the Engine? If you have, then the problem might be with the UWeaponEffectComponent, try setting the TArray using AActor to see if you have the same problem. One thing to take into account, TSubclassOf creates a dropodown to pick from a list of classes that are child of the one you put. TArray of UWeaponEffectComponent pointers is a list of instances of components, so it’s not the same thing. Usually using EditDefaultsOnly the editor is a bit more picky with allowing you to select instances, they are more used with EditInstanceOnly, see if that makes a difference too.

hello, thanks for the informative reply.
it seems that i got it all wrong then, you made it clear. thank you.
i changed the declaration type to TArrayTSubclassOf UWeaponEffectComponent and it works.
so now all i have to to is spawn components at begin play i guess.
thanks

Good to know :slight_smile: