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. Dismiss Notice

Bug SpriteRenderer Null Pointer Crash

Discussion in '2D' started by berkcebeci, May 11, 2023.

  1. berkcebeci

    berkcebeci

    Joined:
    Dec 25, 2019
    Posts:
    6
    Hello,

    Recently I have updated my projects from Unity 2020.3 and 2021.3 to 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 from Google Play Console:
    stack.png
    This stacktrace is from Firebase:
     
  2. berkcebeci

    berkcebeci

    Joined:
    Dec 25, 2019
    Posts:
    6
    I have removed Atlases from my games, this crash is still occurring however it seems to decreased. Anybody have another idea?
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,758