Calling SetConstraintMode on Actor causes editor to crash

lets see how did you declare your Sprite, can you share your .h file as well?
if you declared it like this you shouldn’t have problem

UPaperSpriteComponent* PaperSprite;