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 SpriteRenderer Null Pointer Crash

Discussion in 'Android' started by berkcebeci, May 10, 2023.

  1. berkcebeci

    berkcebeci

    Joined:
    Dec 25, 2019
    Posts:
    6
    Hello,

    Recently I have updated my projects to Unity 2022.2.13 and I started to receive
    SpriteRenderer::ScheduleSpriteTilingJobIfNeeded() crashes on Android devices for multiple projects. I am using Scriptable Objects to change sprites of my gameobjects. These sprites are also included in an atlas. I couldn't find anyone else getting this crash, I would like to hear some suggessions. I am planning to remove atlases as a first step.

    Stacktrace of the crash:
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,682
    The stacktrace doesn't make sense, maybe you've used incorrect symbols for resolving the stacktrace?
     
  3. berkcebeci

    berkcebeci

    Joined:
    Dec 25, 2019
    Posts:
    6
    I created symbols from Build settings with public symbols selected. These logs are from Firebase. I checked the Google Play Console too, same crash has appeared there also. You can see its stacktrace from the image: stack.png
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,682
    This stacktrace looks correct, I would suggest asking in https://forum.unity.com/forums/2d.53/, looks like an issue in 2D system.
     
  5. berkcebeci

    berkcebeci

    Joined:
    Dec 25, 2019
    Posts:
    6
    Thanks for your suggestion, I will post there.