Custom Export Null Problem

Zaddo

Active member
I am trying to create a custom export based on the CSV export. But when I run my export the database is returning Null values in the ItemCategories base values. When I run the UIS CSV export, database.ItemCategories elements have base values that are empty strings?

Is there some action that needs to be done against the database to make it return empty strings instead of nulls?

Edit: This is interesting. If I open the UIS Main Manager first and close it. Then run my export, the values are now empty strings. It appears that something in the UIS Main manager is initialising the database after Unity deserialises the scriptable object.

Edit 2: Found it :) You need to run: database.Initialize(false);

1647174071621.png
 
Last edited:
Top