草庐IT

android - Unity游戏白屏

coder 2023-12-22 原文

我之前用的是Unity 5.6.f,现在升级到2018.2.6版本了。

我的游戏在我的 Samsung Edge 7 上运行完美,但现在当我构建时,我看到的只是一个全白的屏幕。我尝试更改设置和相机属性,但没有成功。

注意:我的游戏过去常常以背景音乐开始,但现在我听不到任何声音。统一启动画面也没有出现,只有一个空白的白色屏幕!

我该怎么办?我的设置有什么问题?

这是我的 Logcat:

09-10 23:52:56.548 3659-3785/? D/SamsungAlarmManager: Expired : 8
09-10 23:52:56.548 3659-3785/? I/SamsungAlarmManager: setLocked to kernel - T:3 / 20180910T235300, SetElapsed=651150845, nowELAPSED=651147393
09-10 23:52:56.549 3659-3785/? V/SamsungAlarmManager: Sending to uid : 11220 action=null alarm=Alarm{4d8e547 type 1 when 1536612776547 com.dianxinos.optimizer.duplay}
09-10 23:52:56.559 3659-10166/? D/SamsungAlarmManager: Cancel Alarm calling from uid:11220 pid :1593 / op:PendingIntent{21f7174: PendingIntentRecord{bd8b994 com.dianxinos.optimizer.duplay startService}}
09-10 23:52:56.571 3659-10166/? D/SamsungAlarmManager: setInexact Intent (T:1/F:0/AC:false) 20180910T235316 - CU:11220/CP:1593
09-10 23:52:56.870 3659-10166/? E/memtrack: Couldn't load memtrack module
09-10 23:52:56.870 3659-10166/? W/android.os.Debug: failed to get memory consumption info: -1
09-10 23:52:57.019 3659-10166/? E/memtrack: Couldn't load memtrack module
09-10 23:52:57.019 3659-10166/? W/android.os.Debug: failed to get memory consumption info: -1
09-10 23:52:57.396 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=2
09-10 23:52:58.409 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=0
09-10 23:52:59.610 3659-21830/? D/BatteryService: !@BatteryListener : batteryPropertiesChanged!
09-10 23:52:59.611 3659-21830/? D/BatteryService: level:59, scale:100, status:2, health:2, present:true, voltage: 3976, temperature: 359, technology: Li-ion, AC powered:false, USB powered:true, POGO powered:false, Wireless powered:false, icon:17303851, invalid charger:0, maxChargingCurrent:0, maxChargingVoltage:0, chargeCounter:0
    online:6, current avg:794, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, batterySWSelfDischarging:false, misc_event:0, current_event:0, current_now:814
09-10 23:52:59.612 3659-3659/? D/BatteryService: Sending ACTION_BATTERY_CHANGED.
09-10 23:52:59.618 3659-3659/? I/MotionRecognitionService: Plugged
09-10 23:52:59.619 3659-3659/? I/MotionRecognitionService: connected - grip disable
09-10 23:52:59.628 4135-4135/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
09-10 23:52:59.629 4135-4135/? D/BatteryController: onReceive-ACTION_BATTERY_CHANGED : mLevel=59, mBatteryStatus=2
09-10 23:52:59.640 4135-4135/? D/PowerUI: priorPlugType = 2 mPlugType =  2
09-10 23:52:59.647 3659-4661/? D/ConnectivityService: filterNetworkStateForUid() uid: 11220 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:52:59.652 4135-4135/? D/PowerUI.Notification: showChargingNotice oldChargingType : 1 currentChargingType : 1 oldChargingTime : 5516000 mChargingTime : 5501000
09-10 23:52:59.653 4135-4135/? D/PowerUI.Notification: showChargingNotification()
09-10 23:52:59.654 3659-4924/? D/ConnectivityService: filterNetworkStateForUid() uid: 11354 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:52:59.658 3659-5590/? D/ConnectivityService: filterNetworkStateForUid() uid: 11220 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:52:59.662 3659-4661/? D/ConnectivityService: filterNetworkStateForUid() uid: 11354 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:52:59.667 3659-4661/? D/ConnectivityService: filterNetworkStateForUid() uid: 10193 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:52:59.671 4135-4135/? D/Notification: allPendingIntents
09-10 23:52:59.673 3659-5667/? D/ConnectivityService: filterNetworkStateForUid() uid: 10193 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:52:59.676 3659-4924/? D/API test: getContainerInfo: value is 
    getContainerInfo: value is 
09-10 23:52:59.707 3659-3659/? D/MotionRecognitionService:   mCableConnection= 1
    clear SAR_DEVICE_GRIP (setPowerConnected) 
09-10 23:52:59.708 3659-3659/? D/SamsungPhoneWindowManager: ACTION_BATTERY_CHANGED - Level :: 59, battStatus :: 2
09-10 23:52:59.708 3659-3801/? E/MotionRecognitionService: handleMessage: event 200 value : 1
09-10 23:52:59.710 3659-3689/? D/UsbDeviceManager: handleMessage -> MSG_UPDATE_CHARGING_STATE = 1
09-10 23:52:59.711 3659-3659/? D/EdgeLightingManager: isCallingUserSupported : callingUserId=-1, mUserId=0, isDualAppId=false
09-10 23:52:59.714 3659-3659/? D/AudioService: getStreamVolume 5 index 0
09-10 23:52:59.720 3659-4924/? D/Notification: allPendingIntents
09-10 23:52:59.721 3659-10166/? D/Notification: allPendingIntents
09-10 23:52:59.721 3659-5667/? D/Notification: allPendingIntents
09-10 23:52:59.727 5021-5021/? D/CatchNotificationsService: onNotificationPosted
09-10 23:52:59.728 3659-5667/? D/Notification: allPendingIntents
09-10 23:52:59.731 3659-4924/? D/Notification: allPendingIntents
09-10 23:52:59.732 3659-3801/? D/MotionRecognitionService: clear TransmitPower  value : 1
    clear TransmitPower  value : 1
09-10 23:52:59.745 5087-25650/? D/BadgeProvider: query, [selection] : null
09-10 23:52:59.763 5021-5021/? E/CatchNotificationsService: Invalid notification data
09-10 23:52:59.797 4135-4135/? W/StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
09-10 23:52:59.800 4135-4135/? I/chatty: uid=10064(u0_a64) com.android.systemui identical 2 lines
09-10 23:52:59.801 4135-4135/? W/StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
09-10 23:52:59.805 5050-5070/? I/zygote64: Background concurrent copying GC freed 20115(989KB) AllocSpace objects, 0(0B) LOS objects, 66% free, 770KB/2MB, paused 21.115ms total 83.742ms
09-10 23:52:59.828 4135-4135/? W/StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
09-10 23:53:00.001 3659-3785/? D/SamsungAlarmManager: Expired : 8
09-10 23:53:00.002 3659-3785/? I/SamsungAlarmManager: setLocked to kernel - T:3 / 20180910T235316, SetElapsed=651167568, nowELAPSED=651150846
09-10 23:53:00.003 3659-3785/? V/SamsungAlarmManager: Sending to uid : 1000 action=android.intent.action.TIME_TICK alarm=Alarm{696712 type 3 when 651150845 android}
09-10 23:53:00.008 3659-3659/? D/SamsungAlarmManager: setExact Intent (T:3/F:1/AC:false) 20180910T235359 - CU:1000/CP:3659
09-10 23:53:00.010 4135-4135/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.TIME_TICK
09-10 23:53:00.011 4135-4135/? D/KeyguardServiceBoxContainer: refreshTime() 1
09-10 23:53:00.594 3286-3286/? E/audit: type=1400 audit(1536612780.591:84424): avc:  denied  { read } for  pid=21505 comm=43707520436F6C6C656374696F6E name="stat" dev="proc" ino=4026534927 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 SEPF_SM-G935F_8.0.0_0011 audit_filtered
09-10 23:53:00.630 4697-4697/? D/io_stats: !@   8,0 r 13057802 526259596 w 3460694 64451520 d 486779 24649384 f 938215 937809 iot 10758130 9080915 th 375916 0 0 pt 0 inp 0 0 210836.246
09-10 23:53:01.435 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=2
09-10 23:53:01.626 9154-9154/? D/Notification: allPendingIntents
09-10 23:53:01.641 9154-9154/? D/Notification: allPendingIntents
09-10 23:53:01.649 3659-3680/? D/API test: getContainerInfo: value is 
09-10 23:53:01.655 3659-3659/? D/EdgeLightingManager: isCallingUserSupported : callingUserId=0, mUserId=0, isDualAppId=false
09-10 23:53:01.656 3659-3659/? D/EdgeLightingManager: showForNotification : isInteractive=true, isHeadUp=false, color=0, sbn = StatusBarNotification(pkg=com.dianxinos.optimizer.duplay user=UserHandle{0} id=439 tag=null key=0|com.dianxinos.optimizer.duplay|439|null|11220: Notification(channel=null pri=2 contentView=com.dianxinos.optimizer.duplay/0x7f040196 vibrate=null sound=null defaults=0x0 flags=0x62 color=0x00000000 number=0 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0))
09-10 23:53:01.656 3659-3659/? D/EdgeLightingClientManager: isAvailableEdgeLighting: condition=1 mCondition=3 mIsConnected=false1
09-10 23:53:01.657 3659-3659/? D/EdgeLightingPolicyManager: isAcceptableApplication:  pkg=com.dianxinos.optimizer.duplay , range=256 , includeAllApp=false , userId=0 , infoRange=0 , infoCategory=0
    putNotification tickerText:false,titleText:false,text:false,sub:falsecn= + null
09-10 23:53:01.658 3659-3659/? D/EdgeLightingPolicyManager.NotificationGroup: updateNotificationData put :0|com.dianxinos.optimizer.duplay|439|null|11220,size=3
    0|com.dianxinos.dxbs|2|null|10193:NotificationData time=1536612769757,
    0|com.dianxinos.optimizer.duplay|439|null|11220:NotificationData time=1536612781657,
    0|com.duapps.antivirus|1024|DuScene|11354:NotificationData time=1536610136399,
09-10 23:53:01.658 3659-3659/? D/EdgeLightingManager: showForNotificationScreenOn : texts are empty.
09-10 23:53:01.673 3659-4924/? D/Notification: allPendingIntents
09-10 23:53:01.675 3659-10166/? D/Notification: allPendingIntents
09-10 23:53:01.677 3659-3659/? D/Notification: allPendingIntents
09-10 23:53:01.678 3659-4661/? D/Notification: allPendingIntents
09-10 23:53:01.681 5021-5021/? D/CatchNotificationsService: onNotificationPosted
09-10 23:53:01.685 3659-10166/? D/Notification: allPendingIntents
09-10 23:53:01.689 3659-5590/? D/Notification: allPendingIntents
09-10 23:53:01.698 5087-25650/? D/BadgeProvider: query, [selection] : null
09-10 23:53:01.708 5021-5021/? E/CatchNotificationsService: Invalid notification data
09-10 23:53:01.762 4135-4135/? D/swipe: !isFreemformEnabled
09-10 23:53:02.448 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=0
09-10 23:53:03.459 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=3
09-10 23:53:04.347 17576-17633/? I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
09-10 23:53:04.348 17576-17633/? I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
09-10 23:53:05.479 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=2
09-10 23:53:05.600 3286-3286/? E/audit: type=1400 audit(1536612785.591:84425): avc:  denied  { read } for  pid=21505 comm=43707520436F6C6C656374696F6E name="stat" dev="proc" ino=4026534927 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 SEPF_SM-G935F_8.0.0_0011 audit_filtered
09-10 23:53:05.635 4697-4697/? D/io_stats: !@   8,0 r 13057802 526259596 w 3460709 64451608 d 486779 24649384 f 938219 937813 iot 10758140 9080919 th 375856 0 0 pt 0 inp 0 0 210841.252
09-10 23:53:06.507 3659-9981/? D/SSRM:O: SIOP:: AP = 390, PST = 388 (W:14), BAT = 359, CHG = 395, CP = 347
09-10 23:53:07.499 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=3
09-10 23:53:09.518 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=0
09-10 23:53:09.659 3659-5590/? D/ConnectivityService: filterNetworkStateForUid() uid: 10201 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.671 3659-21830/? D/BatteryService: !@BatteryListener : batteryPropertiesChanged!
09-10 23:53:09.672 3659-21830/? D/BatteryService: level:59, scale:100, status:2, health:2, present:true, voltage: 3975, temperature: 359, technology: Li-ion, AC powered:false, USB powered:true, POGO powered:false, Wireless powered:false, icon:17303851, invalid charger:0, maxChargingCurrent:0, maxChargingVoltage:0, chargeCounter:0
    online:6, current avg:796, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, batterySWSelfDischarging:false, misc_event:0, current_event:0, current_now:798
09-10 23:53:09.673 3659-3659/? D/BatteryService: Sending ACTION_BATTERY_CHANGED.
09-10 23:53:09.679 3659-3659/? I/MotionRecognitionService: Plugged
    connected - grip disable
09-10 23:53:09.686 4135-4135/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
09-10 23:53:09.694 4135-4135/? D/BatteryController: onReceive-ACTION_BATTERY_CHANGED : mLevel=59, mBatteryStatus=2
09-10 23:53:09.704 4135-4135/? D/PowerUI: priorPlugType = 2 mPlugType =  2
09-10 23:53:09.707 4135-4135/? D/PowerUI.Notification: showChargingNotice oldChargingType : 1 currentChargingType : 1 oldChargingTime : 5501000 mChargingTime : 5501000
    There is no change about charging status, so return!
09-10 23:53:09.715 3659-21830/? D/ConnectivityService: filterNetworkStateForUid() uid: 11220 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.721 3659-21830/? D/ConnectivityService: filterNetworkStateForUid() uid: 11220 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.725 3659-21830/? D/ConnectivityService: filterNetworkStateForUid() uid: 11354 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.743 3659-21830/? D/ConnectivityService: filterNetworkStateForUid() uid: 10193 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.753 3659-5590/? D/ConnectivityService: filterNetworkStateForUid() uid: 10193 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.758 3659-5590/? D/ConnectivityService: filterNetworkStateForUid() uid: 11354 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:09.789 3659-3659/? D/MotionRecognitionService:   mCableConnection= 1
    clear SAR_DEVICE_GRIP (setPowerConnected) 
09-10 23:53:09.790 3659-3801/? E/MotionRecognitionService: handleMessage: event 200 value : 1
09-10 23:53:09.790 3659-3659/? D/SamsungPhoneWindowManager: ACTION_BATTERY_CHANGED - Level :: 59, battStatus :: 2
09-10 23:53:09.791 3659-3689/? D/UsbDeviceManager: handleMessage -> MSG_UPDATE_CHARGING_STATE = 1
09-10 23:53:09.796 3659-3801/? D/MotionRecognitionService: clear TransmitPower  value : 1
    clear TransmitPower  value : 1
09-10 23:53:10.607 3286-3286/? E/audit: type=1400 audit(1536612790.601:84426): avc:  denied  { read } for  pid=21505 comm=43707520436F6C6C656374696F6E name="stat" dev="proc" ino=4026534927 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 SEPF_SM-G935F_8.0.0_0011 audit_filtered
09-10 23:53:10.641 4697-4697/? D/io_stats: !@   8,0 r 13057802 526259596 w 3460710 64451620 d 486779 24649384 f 938220 937814 iot 10758140 9080920 th 373288 0 0 pt 0 inp 0 0 210846.257
09-10 23:53:11.537 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=2
09-10 23:53:11.690 3659-21830/? D/SamsungAlarmManager: Cancel Alarm calling from uid:10020 pid :4782 / op:PendingIntent{df2e25e: PendingIntentRecord{46a9627 com.google.android.gms broadcastIntent}}
09-10 23:53:11.709 3659-21830/? D/SamsungAlarmManager: setExact Intent (T:2/F:5/AC:false) 20180911T000711 - CU:10020/CP:4782
09-10 23:53:11.746 5187-5187/? I/GCM: Message from 745476177629
09-10 23:53:11.804 3659-3679/? D/ConnectivityService: filterNetworkStateForUid() uid: 1000 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:11.813 3659-3679/? D/ConnectivityService: filterNetworkStateForUid() uid: 10113 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:11.827 3659-3679/? D/ConnectivityService: filterNetworkStateForUid() uid: 1000 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:11.863 3659-3679/? D/StorageManagerService: getExternalStorageMountMode : 3
    getExternalStorageMountMode : 3
09-10 23:53:11.864 3659-3679/? D/StorageManagerService: getExternalStorageMountMode : final mountMode=3, uid : 10113, packageName : com.google.android.gm
09-10 23:53:11.864 3659-3679/? D/ActivityManager: package  com.google.android.gm, user - 0 is SDcard whitelisted
09-10 23:53:11.887 3659-3679/? I/ActivityManager: Start proc 8294:com.google.android.gm/u0a113 for service com.google.android.gm/.provider.MailSyncAdapterService
09-10 23:53:11.887 8294-8294/? E/Zygote: isWhitelistProcess - Process is Whitelisted
09-10 23:53:11.887 3659-3679/? I/ActivityManager: Start proc 8294:com.google.android.gm/u0a113 for service com.google.android.gm/.provider.MailSyncAdapterService
09-10 23:53:11.889 8294-8294/? E/libpersona: scanKnoxPersonas
    Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
09-10 23:53:11.894 8294-8294/? W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2],  Con:u:r:zygote:s0 RAM:SEPF_SM-G935F_8.0.0_0011, [-1 -1 -1 -1 0 1]
09-10 23:53:11.896 8294-8294/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.google.android.gm 
09-10 23:53:11.902 8294-8294/? I/zygote64: Late-enabling -Xcheck:jni
09-10 23:53:11.939 8294-8294/? D/TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service
09-10 23:53:11.940 8294-8294/? D/ActivityThread: Added TimaKeyStore provider
09-10 23:53:11.946 3659-5590/? I/ActivityManager: DSS on for com.google.android.gm and scale is 1.0
09-10 23:53:12.014 8294-8294/? I/zygote64: no shared libraies, dex_files: 1
09-10 23:53:12.192 8294-8294/? W/ComponentDiscovery: Application info not found.
    Could not retrieve metadata, returning empty list of registrars.
09-10 23:53:12.320 8294-8294/? D/ActivityThread: Loading provider com.google.android.gm.sapi: com.google.android.gm.sapi.SapiUiProvider
09-10 23:53:12.441 3659-5590/? W/StorageManager: getStorageLowBytes lowPercent : 5, lowBytes : 1327564390, maxLowBytes : 524288000
09-10 23:53:12.453 8294-8294/? W/GAV2: Thread[main,5,main]: Need to call initialize() and be in fallback mode to start dispatch.
09-10 23:53:12.495 8294-8324/? I/PrimesTesting: GserviceFlagsSupplier.get()
09-10 23:53:12.544 4135-4372/? D/NetworkController.MobileSignalController(0/3): onDataActivity: direction=3
09-10 23:53:12.607 3659-3679/? D/ConnectivityService: filterNetworkStateForUid() uid: 1000 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:12.696 3659-4661/? D/ConnectivityService: filterNetworkStateForUid() uid: 10020 networkInfo: [type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: (unspecified), extra: we, failover: false, available: true, roaming: false, metered: true]
09-10 23:53:12.781 3659-21830/? W/StorageManager: getStorageLowBytes lowPercent : 5, lowBytes : 1327564390, maxLowBytes : 524288000

这是我的 Menifest 文件:

    <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.example.admobtest" android:versionName="1.0" android:versionCode="1">
  <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
  <!-- Google Mobile Ads Permissions -->
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-permission android:name="com.android.vending.BILLING" />
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false">


    <!-- meta-data tag for Google Play services -->
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
    <activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
      <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
    <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
    </activity>
    <activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
      <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
      <meta-data android:name="android.app.lib_name" android:value="unity" />
    </activity>
    <activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
    </activity>   
    <!-- Google Mobile Ads Activity -->
    <activity android:name="com.google.android.gms.ads.AdActivity"
              android:label="@string/app_name"
              android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    </activity>
    <!--Added by ME on 01.09.14 23:17-->
    <activity android:name="com.prime31.GoogleIABProxyActivity"></activity>    
  </application>
  <uses-feature android:glEsVersion="0x00020000" />
  <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="27" />
</manifest>

最佳答案

如评论中所述,该问题是由损坏的 Android list 引起的。

对于遇到此问题的其他人,您应该检查的事项:

  • 您能否使用更新后的 Unity 版本构建并运行新的 Unity 项目?如果不是,您可能需要更新您的 Android SDK。
  • 您的项目是否适用于 iOS 等其他平台?如果不是,则您的第一个场景可能有问题。检查您的日志,并尝试用空场景替换它,看看是否可行。
  • 如果您可以构建一个新项目并且它可以在其他平台上运行,请删除您的 Android list 。 Unity 将在构建时创建一个新的。您可能需要根据项目需要重新添加其他 Activity 和依赖项。

关于android - Unity游戏白屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52191182/

有关android - Unity游戏白屏的更多相关文章

  1. Unity 热更新技术 | (三) Lua语言基本介绍及下载安装 - 2

    ?博客主页:https://xiaoy.blog.csdn.net?本文由呆呆敲代码的小Y原创,首发于CSDN??学习专栏推荐:Unity系统学习专栏?游戏制作专栏推荐:游戏制作?Unity实战100例专栏推荐:Unity实战100例教程?欢迎点赞?收藏⭐留言?如有错误敬请指正!?未来很长,值得我们全力奔赴更美好的生活✨------------------❤️分割线❤️-------------------------

  2. FOHEART H1数据手套驱动Optitrack光学动捕双手运动(Unity3D) - 2

    本教程将在Unity3D中混合Optitrack与数据手套的数据流,在人体运动的基础上,添加双手手指部分的运动。双手手背的角度仍由Optitrack提供,数据手套提供双手手指的角度。 01  客户端软件分别安装MotiveBody与MotionVenus并校准人体与数据手套。MotiveBodyMotionVenus数据手套使用、校准流程参照:https://gitee.com/foheart_1/foheart-h1-data-summary.git02  数据转发打开MotiveBody软件的Streaming,开始向Unity3D广播数据;MotionVenus中设置->选项选择Unit

  3. unity---接入Admob - 2

    目录1.AdmobSDK下载地址2.将下载好的unityPackagesdk导入到unity里​编辑 3.解析依赖到项目中

  4. Unity 3D 制作开关门动画,旋转门制作,推拉门制作,门把手动画制作 - 2

    Unity自动旋转动画1.开门需要门把手先动,门再动2.关门需要门先动,门把手再动3.中途播放过程中不可以再次进行操作觉得太复杂?查看我的文章开关门简易进阶版效果:如果这个门可以直接打开的话,就不需要放置"门把手"如果门把手还有钥匙需要旋转,那就可以把钥匙放在门把手的"门把手",理论上是可以无限套娃的可调整参数有:角度,反向,轴向,速度运行时点击Test进行测试自己写的代码比较垃圾,命名与结构比较拉,高手轻点喷,新手有类似的需求可以拿去做参考上代码usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;u

  5. 安卓apk修改(Android反编译apk) - 2

    最近因为项目需要,需要将Android手机系统自带的某个系统软件反编译并更改里面某个资源,并重新打包,签名生成新的自定义的apk,下面我来介绍一下我的实现过程。APK修改,分为以下几步:反编译解包,修改,重打包,修改签名等步骤。安卓apk修改准备工作1.系统配置好JavaJDK环境变量2.需要root权限的手机(针对系统自带apk,其他软件免root)3.Auto-Sign签名工具4.apktool工具安卓apk修改开始反编译本文拿Android系统里面的Settings.apk做demo,具体如何将apk获取出来在此就不过多介绍了,直接进入主题:按键win+R输入cmd,打开命令窗口,并将路

  6. ruby - 我需要从 facebook 游戏中抓取数据——使用 ruby - 2

    修改(澄清问题)我已经花了几天时间试图弄清楚如何从Facebook游戏中抓取特定信息;但是,我遇到了一堵又一堵砖墙。据我所知,主要问题如下。我可以使用Chrome的检查元素工具手动查找我需要的html-它似乎位于iframe中。但是,当我尝试抓取该iframe时,它​​是空的(属性除外):如果我使用浏览器的“查看页面源代码”工具,这与我看到的输出相同。我不明白为什么我看不到iframe中的数据。答案不是它是由AJAX之后添加的。(我知道这既是因为“查看页面源代码”可以读取Ajax添加的数据,也是因为我有b/c我一直等到我可以看到数据页面之后才抓取它,但它仍然不存在)。发生这种情况是因为

  7. python - Ruby 或 Python 的 3d 游戏引擎? - 2

    关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于StackOverflow来说是偏离主题的,因为它们往往会吸引自以为是的答案和垃圾邮件。相反,describetheproblem以及迄今为止为解决该问题所做的工作。关闭9年前。Improvethisquestion是否有适用于这些的3d游戏引擎?

  8. Unity Shader 学习笔记(5)Shader变体、Shader属性定义技巧、自定义材质面板 - 2

    写在之前Shader变体、Shader属性定义技巧、自定义材质面板,这三个知识点任何一个单拿出来都是一套知识体系,不能一概而论,本文章目的在于将学习和实际工作中遇见的问题进行总结,类似于网络笔记之用,方便后续回顾查看,如有以偏概全、不祥不尽之处,还望海涵。1、Shader变体先看一段代码......Properties{ [KeywordEnum(on,off)]USL_USE_COL("IsUseColorMixTex?",int)=0 [Toggle(IS_RED_ON)]_IsRed("IsRed?",int)=0}......//中间省略,后续会有完整代码 #pragmamulti_c

  9. 三分钟集成 TapTap 防沉迷 SDK(Unity 版) - 2

    三分钟集成Tap防沉迷SDK(Unity版)一、SDK介绍基于国家对上线所有游戏必须增加防沉迷功能的政策下,TapTap推出防沉迷SDK,供游戏开发者进行接入;允许未成年用户在周五、六、日以及法定节假日晚上8:00-9:00进行游戏,防沉谜时间段进入游戏会弹窗进行提示!开发环境要求:Unity2019.4或更高版本iOS10或更高版本Android5.0(APIlevel21)或更高版本🔗Unity集成Demo参考链接🔗UnityTapSDK功能体验APK下载链接二、集成前准备1.创建应用进入开发者后台,按照提示开始创建应用;2.开通服务在使用TDS实名认证和防沉迷服务之前,需要在上面创建的应

  10. 【Unity大气散射】GAMES104:3A中如何实现大气散射 - 2

    写在前面前两天学习并整理的大气散射基础知识:【Unity大气渲染】关于单次大气散射的理论知识,收获了很多,但不得不承认的是,这其实已经是最早的、90年代的非常古老的方法了,后来也出现了一些优化性的计算思路和方法。因此,我打算先不急着跟各种教程在Unity中实现大气散射,而是再花时间来看看最近的游戏是如何去实现大气渲染的:06.游戏中地形大气和云的渲染(下)|GAMES104-现代游戏引擎:从入门到实践接下来就跟着GAMES104讲地形大气和云渲染的部分学习并做简单的记录,涉及到之前没提到的Mie散射也只选择直接截图PPT的方式记录啦!毕竟对于做作品来说,之后实现出来才是重要的~当然,May佬的

随机推荐