Cannot find cast references when using lyra for 5.1

When using Lyra for 5.1 or 5.2 I’m trying to cast to my custom scoring for battle royale in GA_Hero_Death but when searching for cast to B_ShooterGame_SocringBattleRoyale or anything like that it’s not found but when going into another class, anything but that one class B_ShooterGame_SocringBattleRoyale can be found with no issues even by typing battleroyale or scoring. This also applies for default classes such as default chatacter or anything else.

Hi there,
If your class “B_ShooterGame_SocringBattleRoyale” is derived from “B_ShooterGameScoring_Base”, that means it is a Game State Component.

image

To access it, you want to get Game State, Get Component by Class, and find your B_ShooterGame_SocringBattleRoyale in the input node as shown below:

Hope that helps.