Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Hot Phone

Discussion in 'Scripting' started by shmomo, Jul 6, 2015.

  1. shmomo

    shmomo

    Joined:
    Oct 11, 2011
    Posts:
    127
    so after playing game on iphone 6+ for 5 mins device gets hot and fps drops from 60 to 40.

    im thinking its physics.

    internal profiler says:

    iPhone Unity internal profiler stats:
    cpu-player> min: 9.0 max: 21.7 avg: 16.4
    cpu-ogles-drv> min: 0.0 max: 0.0 avg: 0.0
    cpu-present> min: 0.0 max: 0.0 avg: 0.0
    frametime> min: 9.2 max: 22.0 avg: 16.6
    batches> min: 62 max: 66 avg: 63
    draw calls> min: 68 max: 72 avg: 69
    tris> min: 12267 max: 13691 avg: 12925
    verts> min: 15657 max: 16911 avg: 16234
    dynamic batching> batched draw calls: 78 batches: 13 tris: 3457 verts: 3492
    static batching> batched draw calls: 78 batches: 13 tris: 3457 verts: 3492
    player-detail> physx: 6.7 animation: 0.7 culling 0.0 skinning: 0.0 batching: 0.5 render: 4.4 fixed-update-count: 0 .. 1
    scripting-scripts> update: 0.7 fixedUpdate: 2.4 coroutines: 0.1
    scripting-memory> used heap: 901120 allocated heap: 1052672 max number of collections: 0 collection total duration: 0.0

    does this sound like a lot of time for physics?

    or ram looks high?


    Researching, I cant seem to find any reference points or ways to calculate if that is too much.

    help appreciated,

    J