I am developing an infinite runner and my engine crashes after a work for a while

I am attaching the log file generated by the engine, this crash is making me crazy . . kindly help me out sorting this problem as i am developing a game for my final year project in my Bachelor’s degree and i don’t have enough time . . link text

Your actually errors:

    Ensure condition failed: false [File:d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\math\UnrealMatrix.h] [Line: 266]
    FMatrix::InverseFast(), trying to invert a NIL matrix, this results in NaNs! Use Inverse() instead.
    
    
    Ensure condition failed: !Primitive->Bounds.BoxExtent.ContainsNaN() && !Primitive->Bounds.Origin.ContainsNaN() && !FMath::IsNaN(Primitive->Bounds.SphereRadius) && FMath::IsFinite(Primitive->Bounds.SphereRadius) [File:D:\Build\++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Renderer\Private\RendererScene.cpp] [Line: 800]
    Nans found on Bounds for Primitive StaticMesh: Origin X=-nan(ind) Y=-nan(ind) Z=-nan(ind), BoxExtent X=-nan(ind) Y=-nan(ind) Z=-nan(ind), SphereRadius -nan(ind)
    
    
    
    Ensure condition failed: !NewTransform.ContainsNaN() [File:D:\Build\++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodyInstance.cpp] [Line: 2785]
    SetBodyTransform contains NaN (/Game/ThirdPersonBP/Maps/UEDPIE_0_Experiment.Experiment:PersistentLevel.Health_potionStory_C_13.StaticMesh)
    -nan(ind),-nan(ind),-nan(ind)|0.000000,-89.999817,-90.000038|1.768058,0.823975,1.609325

It seems that some of your functions return nan

Thank you for replying ill dig up all my functions today for any nan’s

Hey i solved the problem . . there was a problem in a function in one of my blueprints so i fixed it . . it was returning NaN value for sure . . thank you

No problen Sarkar, I am glad it heped you

I have converted my comment into an answer so that we can close this thread