Hi everyone
I use PrimaryDataAsset to create DataAsset and populate various blueprints.
So each blueprint have a variable referencing the object type of PrimaryDataAssets created and I set the default value with the corresponding DataAsset created.
The issue I have is when the game start and for every tick it access none
[2022.09.26-20.07.56:198][549]LogScript: Warning: Accessed None trying to read property DA_LaneTurret
BP_LaneTurret_C /Game/01_Project/Maps/2v2/Map_2v2.Map_2v2:PersistentLevel.BP_PurpleLaneTurret_7
Function /Game/01_Project/Characters/Minions/LaneTurret/BP_LaneTurret.BP_LaneTurret_C:GetFireRate:001C
[2022.09.26-20.07.56:198][549]LogScript: Warning: Script call stack:
Function /Game/01_Project/Characters/Minions/LaneTurret/BP_LaneTurret.BP_LaneTurret_C:ReceiveTick
Function /Game/01_Project/Characters/Minions/LaneTurret/BP_LaneTurret.BP_LaneTurret_C:ExecuteUbergraph_BP_LaneTurret
Function /Game/01_Project/Characters/Minions/LaneTurret/BP_LaneTurret.BP_LaneTurret_C:FireCooldown
Function /Game/01_Project/Characters/Minions/LaneTurret/BP_LaneTurret.BP_LaneTurret_C:ExecuteUbergraph_BP_LaneTurret
Function /Game/01_Project/Characters/Minions/LaneTurret/BP_LaneTurret.BP_LaneTurret_C:GetFireRate
Any idea what I’m doing wrong here ?