This is being closed, as it is not a Unity bug, but a user code issue. The SpriteAtlasManager.atlasRequested callback should always have a valid Atlas, which this code does not ensure. To fix this issue, make sure that the Atlas which is passed to the callback is valid and never null.