Announcement

Collapse
No announcement yet.

Infinite loop detected - lazer beams

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Infinite loop detected - lazer beams

    Hi all,

    I have a lazer beam which detects the position of a cube that enters it via overlap, then changes its lazer end (target) location to the position of the x,y coords of the cube that enters, and z of the lazer source. when it ends overlap it returns the end position of the lazer to the original. IT WORKS when I deactivate the end overlap, so i think it's infinitely trying to overlap and end overlap but i don't know.

    As soon as a cube enters the beam i get the following error message and infinite loop.


    Error Infinite Loop detected in beamRed_Blueprint2 , asserted during SetActorLocation with the following Call Stack
    Call stack:
    Script call stack:
    Function /Game/StarterContent/Blueprints/Beams/Level2_Room1/beamRed_Blueprint2.beamRed_Blueprint2_C:BndEvt__Box_K2Node_ComponentBoundEvent_0_ComponentBeginOverlapSignature__DelegateSignature
    Function /Game/StarterContent/Blueprints/Beams/Level2_Room1/beamRed_Blueprint2.beamRed_Blueprint2_C:ExecuteUbergraph_beamRed_Blueprint2
    Image of blueprint:
    Click image for larger version

Name:	BP_beams.JPG
Views:	1
Size:	271.3 KB
ID:	1217467

    Any ideas would be appreciated
Working...
X