Any time we want to use a list or an array of LocalizedAssets (eg. LocalizedSprite) the inspector stops working and a NullReferenceException is spammed to the console.
This does not happen when using the type directly:
// this works
public LocalizedSprite locSprite;
// the follow does not work
public List<LocalizedSprite> locSpriteList:
public LocalizedSprite[] locSpriteArray;
We tracked this down to the variable ‘assetType’ being null in LocalizedReferencePropertyDrawer.cs:141. I think there may be more stuff that relies on that variable to not be null, although I did not check. I suspect the instance is not properly created/initialized when used inside an array/a list?
Is there a way to fix this without waiting for a new version? We are using version “0.9.0-preview”.