When creating a widget you have to put a delay for the owning player pawn to not be none. Why is this the case and can you fix it?
Hi! It depends on where you create widget and when. There can be issues about order of actors Begin Play and so on. Where do you create widget and where is created your pawn?
if you create your widget in the pawn class, it will be created with a valid parent, as your pawn will exist before your widget. but if you do it somewhere else, it may be constructed before your pawn.
I create the widget in my character blueprint when the player controller has possessed the pawn.
I Do it in my character class after it is possesed by The playercontroller but it doesnt work
I create it in my character after The playercontroller possesses it