LoginSignup
0
0

More than 5 years have passed since last update.

Unity2017 2x でandroid端末だけメモリーエラーで落ちた際のメモ

Last updated at Posted at 2017-10-31

Androidのlogcatで、こんなエラーで、落ちる。

0-31 10:18:19.391 25006 25023 I Unity   : Firebase Analytics API Initializing
10-31 10:18:19.391 25006 25023 I Unity   :  
10-31 10:18:19.391 25006 25023 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
10-31 10:18:19.391 25006 25023 I Unity   : 
10-31 10:18:19.391 25006 25023 I Unity   : Firebase Analytics API Initialized
10-31 10:18:19.391 25006 25023 I Unity   :  
10-31 10:18:19.391 25006 25023 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
10-31 10:18:19.391 25006 25023 I Unity   : 
10-31 10:18:19.402 25006 25023 I Unity   : Firebase Cloud Messaging API Initialized
10-31 10:18:19.402 25006 25023 I Unity   :  
10-31 10:18:19.402 25006 25023 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
10-31 10:18:19.402 25006 25023 I Unity   : 
10-31 10:18:21.473 25006 25023 I Unity   : GameManager.GameInit
10-31 10:18:21.473 25006 25023 I Unity   :  
10-31 10:18:21.473 25006 25023 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
10-31 10:18:21.473 25006 25023 I Unity   : 
10-31 10:18:23.862 25006 25023 E Unity   : Unable to find kernel32.dll
10-31 10:18:23.957 25006 25023 I Unity   : tutorialSelectPageNum::::: start13
10-31 10:18:23.957 25006 25023 I Unity   :  
10-31 10:18:23.957 25006 25023 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
10-31 10:18:23.957 25006 25023 I Unity   : 
10-31 10:18:26.006 25006 25023 E Unity   : Could not allocate memory: System out of memory!
10-31 10:18:26.006 25006 25023 E Unity   : Trying to allocate: 872415232B with 16 alignment. MemoryLabel: DynamicArray
10-31 10:18:26.006 25006 25023 E Unity   : Allocation happend at: Line:524 in 
10-31 10:18:26.006 25006 25023 E Unity   : Memory overview
10-31 10:18:26.006 25006 25023 E Unity   : 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_DEFAULT ] used: 66115265B | peak: 66116289B | reserved: 67176054B 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_TEMP_JOB ] used: 15521B | peak: 0B | reserved: 262144B 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_GAMEOBJECT ] used: 465322B | peak: 465329B | reserved: 546661B 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_GFX ] used: 3409023B | peak: 16160964B | reserved: 3414704B 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
10-31 10:18:26.006 25006 25023 E Unity   : [ ALLOC_TEMP_THREAD ] used: 32972B | peak: 0B | reserved: 3440640B 
10-31 10:18:26.006 25006 25023 E Unity   : 
10-31 10:18:26.006 25006 25023 E Unity   :  

原因が、何故か3DのAnimator&Animationが原因で修正したら治った。

たった1つのオブジェクトで歩くだけのアニメーションなのに、、!汗

NGUIのアトラス画像や、テクスチャやリソースを断捨離してもだめだったのに、、

環境

  • max OSX sierra
  • Unity2017 2.x
  • grandleビルド
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0