Hello, I'm really in need of help, I can no longer make the game work on weak phones, I've already tried to update on all the units (from 5.6 until 2018) and nothing works. I did this using a copy of the project to test, the original is in 5.6.5, before in unity 5.4 I was able to make it work normally, now I can not from version 5.6 onwards. What do I do?
Please elaborate "can no longer make the game work". Do you get an error? Please provide the device logs https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/
I did not make it specify the log of the app, I quoted the end of the game (Com.LifeGames.RodandoOBrasil) if I want to step the complete log. sorry my inglesh, i using google traduction. Code (JavaScript): I/GAv4 (31621): adb logcat -s GAv4 D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write I/System.out(31621): [CDS][DNS] getAllByNameImpl netId = 0 D/libc-netbsd(31621): [getaddrinfo]: hostname=graph.facebook.com; servname=(null); cache_mode=(null), netid=0; mark=0 D/libc-netbsd(31621): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0 D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028828,0.000183,0.017414 E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 W/GAv4 (31621): String xml configuration name not recognized: ga_trackingId D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write D/libc-netbsd(31621): [getaddrinfo]: hostname=graph.facebook.com; servname=(null); cache_mode=(null), netid=0; mark=0 D/libc-netbsd(31621): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0 W/ActivityManager( 855): getRunningAppProcesses: caller 10069 does not hold REAL_GET_TASKS; limiting output D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028789,0.000177,0.017468 E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write V/WindowManager( 855): Changing focus from Window{195a76b3 u0 com.LifeGames.RodandoOBrasil/com.unity3d.player.UnityPlayerActivity} to null Callers=com.android.server.wm.WindowManagerService.setTokenVisibilityLocked:5072 com.android.server.wm.WindowManagerService.removeAppToken:5346 com.android.server.am.ActivityStack.removeActivityFromHistoryLocked:3522 com.android.server.am.ActivityStack.removeHistoryRecordsForAppLocked:3957 D/FrameworkListener( 175): dispatchCommand data = (getaddrinfo graph.facebook.com ^ 1024 0 1 0 0) D/libc-netbsd( 175): [getaddrinfo]: hostname=graph.facebook.com; servname=(null); cache_mode=local, netid=0; mark=917504 D/libc-netbsd( 175): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0 D/libc-netbsd( 175): default dns: query_ipv6=0, query_ipv4=0 D/libc-netbsd(31621): getaddrinfo: graph.facebook.com NO result from proxy I/System.out(31621): [CDS][DNS]Unable to resolve host "graph.facebook.com": No address associated with hostname D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028678,0.000184,0.017586 D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write D/LockPatternUtils( 855): s=true ,L=true ,q=true ,v=false E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 D/LockPatternUtils( 855): s=true ,L=true ,q=true ,v=false D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028765,0.000180,0.017491 D/FeatureProxyBase( 855): FeatureProxyBase class constructor D/MultiWindow( 855): MultiWindowProxy constructor. D/FeatureProxyBase( 855): getService(), serviceName = multiwindow_service_v1 D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/LockPatternUtils( 855): s=true ,L=true ,q=true ,v=false D/FeatureProxyBase( 855): FeatureProxyBase class constructor D/MultiWindow( 855): MultiWindowProxy constructor. D/AudioFlinger_Threads( 180): threadLoop_write D/FeatureProxyBase( 855): getService(), serviceName = multiwindow_service_v1 W/InputDispatcher( 855): Attempted to unregister already unregistered input channel '195a76b3 com.LifeGames.RodandoOBrasil/com.unity3d.player.UnityPlayerActivity (server)' D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028840,0.000172,0.017425 E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 I/BufferQueueConsumer( 150): [SurfaceView](this:0xb8c2b580,id:954,api:1,p:-1,c:-1) disconnect(C) D/GraphicBuffer( 150): free, handle(0xb8c09370) (w:320 h:480 s:320 f:0x4 u:0x000f02) I/BufferQueue( 150): [SurfaceView](this:0xb8c2b580,id:954,api:1,p:-1,c:-1) ~BufferQueueCore D/LockPatternUtils( 855): s=true ,L=true ,q=true ,v=false D/PowerManagerService( 855): releaseWakeLockInternal: lock=359789490 [WindowManager], flags=0x0, total_time=27880ms D/PowerManagerNotifier( 855): onWakeLockReleased: flags=536870922, tag="WindowManager", packageName=android, ownerUid=1000, ownerPid=855, workSource=WorkSource{10071} D/PowerManagerService( 855): userActivityNoUpdateLocked: eventTime=40957520, event=0, flags=0x1, uid=1000 D/PowerManagerNotifier( 855): onUserActivity: event=0, uid=1000 D/PowerManagerService( 855): updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1 D/PowerManagerService( 855): updateUserActivitySummaryLocked: mWakefulness=Awake, mUserActivitySummary=0x1, nextTimeout=40979206 (in 21685 ms) D/PowerManagerService( 855): mDisplayPowerRequest.policy = 3 D/PowerManagerService( 855): isWfdEnabled() mWfdStatus=WifiDisplayStatus{featureState=0, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: C/O:Client,GId:,Pp:,SId:0,IP:}, return false D/DisplayPowerController( 855): requestPowerState: policy=BRIGHT, useProximitySensor=false, forceProximitySensorEnable=false, forceWakeUpEnable=false, screenBrightness=10, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=false, blockScreenOn=false, lowPowerMode=false, boostScreenBrightness=false, dozeScreenBrightness=-1, dozeScreenState=UNKNOWN, waitForNegativeProximity=false I/PowerManagerService( 855): setBrightness mButtonLight 0. D/PowerManagerService( 855): updateDisplayPowerStateLocked: mDisplayReady=true, policy=3, mWakefulness=1, mWakeLockSummary=0x1, mUserActivitySummary=0x1, mBootCompleted=true, mScreenBrightnessBoostInProgress=false D/FeatureProxyBase( 855): FeatureProxyBase class constructor D/MultiWindow( 855): MultiWindowProxy constructor. D/FeatureProxyBase( 855): getService(), serviceName = multiwindow_service_v1 D/ActivityManager( 855): [BMW] moveNextFloatingStackToTopLocked next = null curTop = ActivityStack{340a2084 stackId=1, 12 tasks} D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw W/WindowManager( 855): Failed looking up window W/WindowManager( 855): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@26db721 does not exist W/WindowManager( 855): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9312) W/WindowManager( 855): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9303) W/WindowManager( 855): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1154) W/WindowManager( 855): at android.os.BinderProxy.sendDeathNotice(Binder.java:559) I/WindowState( 855): WIN DEATH: null W/WindowManager( 855): Failed looking up window W/WindowManager( 855): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@3979cc22 does not exist W/WindowManager( 855): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9312) W/WindowManager( 855): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9303) W/WindowManager( 855): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1154) W/WindowManager( 855): at android.os.BinderProxy.sendDeathNotice(Binder.java:559) I/WindowState( 855): WIN DEATH: null I/SurfaceFlinger( 150): [SF client] DEL(0xb8ba9190) for (855:system_server) D/SurfaceFlinger( 150): remove: com.LifeGames.RodandoOBrasil/com.unity3d.player.UnityPlayerActivity D/AudioFlinger_Threads( 180): threadLoop_write I/WindowManager( 855): Losing focus: Window{195a76b3 u0 com.LifeGames.RodandoOBrasil/com.unity3d.player.UnityPlayerActivity} D/LockPatternUtils( 855): s=true ,L=true ,q=true ,v=false D/FeatureProxyBase( 855): FeatureProxyBase class constructor D/MultiWindow( 855): MultiWindowProxy constructor. D/FeatureProxyBase( 855): getService(), serviceName = multiwindow_service_v1 D/FeatureProxyBase( 855): FeatureProxyBase class constructor D/MultiWindow( 855): MultiWindowProxy constructor. D/FeatureProxyBase( 855): getService(), serviceName = multiwindow_service_v1 I/libPerfService( 855): 1: set: 2 E/libPerfService( 855): Could not open '/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base' E/libPerfService( 855): error : 13, Permission denied V/WindowAnimator( 855): No window is displayed, unset the SET_ORIENTATION_CHANGE_COMPLETE flag D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028791,0.000160,0.017510 E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028865,0.000193,0.017368 I/BufferQueueProducer( 150): [FrameBufferSurface_0](this:0xb8b9ec50,id:0,api:1,p:150,c:150) queueBuffer: fps=0.04 dur=28369.04 max=28369.04 min=28369.04 I/SurfaceFlinger( 150): [Built-in Screen (type:0)] fps:0.164752,dur:6069.74,max:6069.74,min:6069.74 I/BufferQueueConsumer( 150): [com.LifeGames.RodandoOBrasil/com.unity3d.player.UnityPlayerActivity](this:0xb8bc8d08,id:953,api:1,p:-1,c:-1) disconnect(C) D/GraphicBuffer( 150): free, handle(0xb8ba8a20) (w:320 h:480 s:320 f:0x1 u:0x000f02) I/BufferQueue( 150): [com.LifeGames.RodandoOBrasil/com.unity3d.player.UnityPlayerActivity](this:0xb8bc8d08,id:953,api:1,p:-1,c:-1) ~BufferQueueCore D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/SurfaceFlinger( 150): Skip composition. D/AudioFlinger_Threads( 180): threadLoop_write E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 D/FeatureProxyBase( 855): FeatureProxyBase class constructor D/MultiWindow( 855): MultiWindowProxy constructor. D/FeatureProxyBase( 855): getService(), serviceName = multiwindow_service_v1 D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028714,0.000190,0.017549 D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write E/SensorService( 855): activeConnections... D/SensorService( 855): SensorService hasOneShotSensors handle:1 mode:0 D/AudioMTKStreamOut( 180): write (-) 8192 latency_in_s,0.028680,0.000186,0.017575 I/ActivityManager( 855): Start proc 31652:com.tct.launcher/u0a59 for activity com.tct.launcher/.Launcher D/AudioFlinger_Threads( 180): threadLoop_sleepTime write muted data to hw D/AudioFlinger_Threads( 180): threadLoop_write V/AlarmManager( 855): isAlarmNeedAlign : charging D/AlarmManager( 855): remove(operation) changed bounds; rebatching operation = PendingIntent{191de2a1: PendingIntentRecord{166d202d com.cmcm.lite broadcastIntent}} D/AlarmManager( 855): rebatchAllAlarmsLocked begin oldBatches count = 53
what I meant with I can no longer make it work on weak phones, and the same project I'm on in Unity 5.6, when the project was on Unity 5.4, I was able to make it work on weak phones now that I upgraded to Unity 5.6.5 and I can not revert to unity 5.4, I can no longer run on weak phones.
The cell phone I use is an Alcatel Pixi 4 (3.5), 512MB of RAM, processor - Dual Core 1.0Ghz, Operating System - Android 5.1 Lollipop. I have the games in apk format to show you. This worked perfectly on weak phones, using unity 5.4, with a large map full of objects. http://www.mediafire.com/file/y3o3u8asy1xxcbx/teste+cell+fracos.apk This works, but I can not add the rest of the map. http://www.mediafire.com/file/s7cv2mbwgngd6y0/test13.apk This does not work, but it does not have much difference from above, the only thing different is that, I tried to make it work by creating a spawn system, to appear the rest of the map on the scene after 20 seconds. http://www.mediafire.com/file/wk570hfa64tqmv7/test14.apk/file