Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Crash on SkeletalMeshComponent.GetPosition() with none SkeletalMesh

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

    Crash on SkeletalMeshComponent.GetPosition() with none SkeletalMesh

    Just putting it out here if anyone runs into a similar problem in the future:

    If you call the native functions GetPosition() or GetRotation() (which obtain world-space location and rotation respectively) on a SkeletalMeshComponent instance that doesn't have its mesh set (SkeletalMesh property == none), the engine will hard-crash without any useful log. Conclusion: don't be dumb like me and make sure your SkeletalMeshComponents are set up properly at all times, especially if it's in your pawn.
Working...
X