Character player spawn too late in ue 5.5

I have a playable character and another controlled by AI, in ue 5.4 everything worked fine, but when moving to 5.5 the character loads after the npc and all the game logic works very bad , the character does not spawn where it should… is it a bug or what changed in 5.5?

You need to be more specific.

the character refers to the npc and this to the character, when loading late, the references are broken, and all the logic does not work, my character must look at the npc, and vice versa, but without the correct reference, this no longer happens, and others things that depend on these references do not work, for it to work I would have to re-code everything, and it is too much work

Basically, I have a bp of the character and a child of that bp, which is the npc, in the bp of the character, I make a reference to the npc, therefore, the npc by inheritance, makes a reference to the character, this worked well in 5.4 , now in 5.5 the npc is loaded before the character, therefore when it wants to reference the character, it is not in the scene and it references itself, and that means that the rest of the logic does not work

You could delay creating those references for a second after the level loads for instance.
Make a set timer (not looping) on begin play and set a Boolean (“make reference” - which should be false as default) to true after 2 seconds. Then in tick event check if boolean is true and make a reference and set boolean to false again.

Or just check if the thing you are referencing is valid - if it is -reference it and set “refrenced_this_thing” boolean to true so you dont have to refrence it again.

The strange thing is that in UE5.4 everything works fine, but in 5.5, without changing anything, it no longer works, not even in the new version 5.5.1