Was hoping someone could take a look at this screenshot for me and tell me what exactly I’m doing wrong here.
When i hit play i get the row not found error message and the default item spawning.
Any pointers would be appreciated as I’m new to using data tables. If you should need any further screen shots or details let me know and ill get them posted asap.
Don’t know if this is obvious (or relevant) but this is a random item spawner for testing purposes only at the moment.
I spent 2 hours trying to figure this out and within 5 minutes of posting this i figure it out.
For other having the same issue (assuming there are others as dense as myself)
Under the BP_DropTest i plugged the set row number randomizer into the spawnActor BP Pickup after making Row number Ref instance Editable and Expose on Spawn.
Its a big guess, but your dropitem is inherites from parentitem class right?
In this case you need call parents begin play, because if i think right normally begin play will be overrided
Click in Bp_droptest on Begin Play with right mouse and propably you will see “add parent call” or “call parent begin play” or something like that but im sure parent word is in there (sry i cant remember exactly)
If you found it in menu and clicked with right mouse new “Parent:Begin Play” node should appaer. Connect this after droptest’s Begin Play and do spawn logic/event timer bind after that
Its a normal behavior when you inherite a class from parent, you need call parents base functions if you do some logic there (like begin play, end play etc
Without calling parents begin play your fname reference will be name none