Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Unity Error appears in Logcat what does it mean?

Discussion in 'Editor & General Support' started by cokodev, Dec 20, 2022.

  1. cokodev

    cokodev

    Joined:
    Apr 21, 2020
    Posts:
    7
    I've 2 Android Devices
    Galaxy S21 Ultra
    Huwai P9 Lite

    On my Galaxy S21 Ultra i get always on startup this Error and everytime i try to change the TargetDpiScaleFactor

    On my Huwai P9 Lite i dont get any error.

    Although on both devices it runs fine but i don't like error messages could anyone help me out on this?

    Code (CSharp):
    1. 2022.12.20 19:44:24.590 10290 10316 Debug Unity InitializeOrResetSwapChain 1080x2325 hdr=0 samples=0
    2. 2022.12.20 19:44:24.591 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 38
    3. 2022.12.20 19:44:24.591 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 0
    4. 2022.12.20 19:44:24.591 10290 10316 Error gralloc4 Invalid base format! req_base_format = 0x0, req_format = 0x38, type = 0x0
    5. 2022.12.20 19:44:24.591 10290 10316 Error gralloc4 ERROR: Unrecognized and/or unsupported format 0x38 and usage 0xb00
    6. 2022.12.20 19:44:24.591 10290 10316 Error Gralloc4 isSupported(1, 1, 56, 1, ...) failed with 5
    7. 2022.12.20 19:44:24.592 10290 10316 Error GraphicBufferAllocator Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5
    8. 2022.12.20 19:44:24.592 10290 10316 Error AHardwareBuffer GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
    9. 2022.12.20 19:44:24.592 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 38
    10. 2022.12.20 19:44:24.592 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 0
    11. 2022.12.20 19:44:24.592 10290 10316 Error gralloc4 Invalid base format! req_base_format = 0x0, req_format = 0x38, type = 0x0
    12. 2022.12.20 19:44:24.592 10290 10316 Error gralloc4 ERROR: Unrecognized and/or unsupported format 0x38 and usage 0xb00
    13. 2022.12.20 19:44:24.592 10290 10316 Error Gralloc4 isSupported(1, 1, 56, 1, ...) failed with 5
    14. 2022.12.20 19:44:24.592 10290 10316 Error GraphicBufferAllocator Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5
    15. 2022.12.20 19:44:24.592 10290 10316 Error AHardwareBuffer GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
    16. 2022.12.20 19:44:24.599 10290 10432 Debug Choreographer Attaching thread to JVM for AChoreographer
    17. 2022.12.20 19:44:24.600 10290 10316 Verbose SwappyVk SwappyVk initialized for VkDevice 0xb400007c0751aeb0 using VK_GOOGLE_display_timing on Android
    18. 2022.12.20 19:44:24.601 10290 10316 Info SwappyVk Returning refresh duration of 8333333 nsec (approx 120.000005 Hz)
    19. 2022.12.20 19:44:24.606 10290 10316 Verbose MediaRouter Selecting route: RouteInfo{ name=Telefon, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
    20. 2022.12.20 19:44:24.606 10290 10316 Info MediaRouter Skip setBluetoothA2dpOn(): types=8388615, isPlaybackActive()=false, BT route=null
    21. 2022.12.20 19:44:24.607 10290 10316 Debug Unity AndroidDisplayManagerVulkan::AttachWindow(0xb400007ba74f2120, 0)
    22. 2022.12.20 19:44:24.607 10290 10316 Debug Unity Initialize engine version: 2021.3.15f1 (e8e88683f834)
    23. 2022.12.20 19:44:24.616 10290 10316 Debug ycoonProduction PlayerBase::PlayerBase()
    24. 2022.12.20 19:44:24.616 10290 10316 Debug ycoonProduction TrackPlayerBase::TrackPlayerBase()
    25. 2022.12.20 19:44:24.616 10290 10316 Info libOpenSLES Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
    26. 2022.12.20 19:44:24.616 10290 10316 Warn AudioTrack set(): notificationFrames=-21 clamped to the range -1 to -8
    27. 2022.12.20 19:44:24.622 10290 10316 Info AudioTrack createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1536
    28. 2022.12.20 19:44:24.625 10290 10290 Debug MediaRouter onRestoreRoute() : route=RouteInfo{ name=Telefon, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
    29. 2022.12.20 19:44:24.625 10290 10290 Verbose MediaRouter Selecting route: RouteInfo{ name=Telefon, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
    30. 2022.12.20 19:44:24.697 10290 10316 Debug Unity PlayerInitEngineGraphics OK
    31. 2022.12.20 19:44:24.702 10290 10316 Debug Unity Found 43 native sensors
    32. 2022.12.20 19:44:24.703 10290 10316 Debug Unity Sensor :        Accelerometer ( 1) ; 0.002394 / 0.00s ; LSM6DSO Accelerometer / STM
    33. 2022.12.20 19:44:24.704 10290 10316 Debug Unity Sensor :        Accelerometer ( 1) ; 0.002394 / 0.00s ; LSM6DSO Accelerometer / STM
    34. 2022.12.20 19:44:24.708 10290 10316 Debug Unity InitializeOrResetSwapChain 1080x2325 hdr=0 samples=0
    35. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 38
    36. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 0
    37. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 Invalid base format! req_base_format = 0x0, req_format = 0x38, type = 0x0
    38. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 ERROR: Unrecognized and/or unsupported format 0x38 and usage 0xb00
    39. 2022.12.20 19:44:24.716 10290 10316 Error Gralloc4 isSupported(1, 1, 56, 1, ...) failed with 5
    40. 2022.12.20 19:44:24.716 10290 10316 Error GraphicBufferAllocator Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5
    41. 2022.12.20 19:44:24.716 10290 10316 Error AHardwareBuffer GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
    42. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 38
    43. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 ERROR: Format allocation info not found for format: 0
    44. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 Invalid base format! req_base_format = 0x0, req_format = 0x38, type = 0x0
    45. 2022.12.20 19:44:24.716 10290 10316 Error gralloc4 ERROR: Unrecognized and/or unsupported format 0x38 and usage 0xb00
    46. 2022.12.20 19:44:24.716 10290 10316 Error Gralloc4 isSupported(1, 1, 56, 1, ...) failed with 5
    47. 2022.12.20 19:44:24.716 10290 10316 Error GraphicBufferAllocator Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5
    48. 2022.12.20 19:44:24.716 10290 10316 Error AHardwareBuffer GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
     
  2. unityl2

    unityl2

    Joined:
    Feb 2, 2022
    Posts:
    6
    I am getting same error . Did you find any solution?
     
    userq likes this.
  3. Yanev

    Yanev

    Joined:
    Dec 8, 2018
    Posts:
    1
    Same error here, anyone with some suggestions or solution. Please Unity Technicians can you advice?! Thank you!
     
    userq likes this.
  4. Auricles

    Auricles

    Joined:
    Jun 20, 2022
    Posts:
    4
    I have the same errors as well, does any one know how to fixe it?
     
    userq likes this.
  5. Wenz0

    Wenz0

    Joined:
    Jan 5, 2021
    Posts:
    4
    Same here!!