Reproduction steps:
- Create new 2022.3.50f1 project from 3D Core (Built-In Render Pipeline) template
- Open Window/PackageManager/UnityRegistry and install packages: 2D Sprite, Addressables
- Open Edit/ProjectSettings/Editor and set SpritePacker/Mode to “Sprite Atlas - V2 Enabled”
- Create folder Assets/Images and add multiple images inside
- Set their TextureType to Sprite
- Create SpriteAtlas and add Assets/Images folder to ObjectsForPacking
- Mark SpriteAtlas as Addressable
- Create new C# Script:
using System;
using UnityEngine;
using UnityEngine.AddressableAssets;
public class VisualData : MonoBehaviour
{
public FigureVisualData[] _icons;
}
[Serializable]
public struct FigureVisualData
{
public byte Id;
public AssetReference Icon;
}
- Create new empty GameObject inside SampleScene and attach VisualData component to it
- Add new element to Icons list:
- Hit Play and confirm that everything works
- Close project and reopen it in Unity 6000.0.23f1 Editor.
- Select GameObject in SampleScene and witness errors:
What is interesting that it’s strictly editor UI error, game builds and runs fine
Fielded bug report

