You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X ] Importer: issues related to the importer behaviours or UI.
Steps to reproduce
Use the following Editor context item to reserialise all assets in a project with some rule based Addressables:
[MenuItem("Game/Reserialize All Assets")]
public static void ReserializeAllAssets()
{
EditorUtility.DisplayProgressBar("Reserializing All Assets", "", 0f);
var subfolders = Directory.GetDirectories(Application.dataPath);
var subfoldersToProcess = new List<string>();
// Build list of folders to actually process, we may want to exclude certain directories in the future
for (int x = 0; x < subfolders.Length; ++x)
{
// Exclude any folders here before adding to subfoldersToProcess
subfoldersToProcess.Add(subfolders[x].Substring(Application.dataPath.Length - 6));
}
var assetsToProcess = AssetDatabase.FindAssets(filter: "", searchInFolders: subfoldersToProcess.ToArray());
// Convert the GUIDs to paths we can use
for (int x = 0; x < assetsToProcess.Length; ++x)
{
assetsToProcess[x] = AssetDatabase.GUIDToAssetPath(assetsToProcess[x]);
}
AssetDatabase.ForceReserializeAssets(assetsToProcess);
EditorUtility.ClearProgressBar();
}
Bug report
Bug category
Steps to reproduce
Use the following Editor context item to reserialise all assets in a project with some rule based Addressables:
Notice the errors like:
What is expected?
StackOverlfowException should not occur.
What is actually happening?
StackOverlfowException is occuring.
Other relevant information
The text was updated successfully, but these errors were encountered: