Window->NoesisGUI->Settings not showing / Crashing?
I'm a bit stuck in a situation where Window->NoesisGUI->Settings is not showing anymore. Actually, Noesis is not building my project anymore since I've changed some xaml files in my project. The weird thing is, even after having changed these files back to the state where it was still working, Noesis continues to not build or respond to Window->NoesisGUI->Settings (so I can try to build manually and see what happens)
Another weird thing is, the project does run correctly in the Unity Player itself ...
Things I tried already: reimport Noesis Package, delete build dirs/make files, reboot, switch to other projects (those work!), undo xaml changes since problem started
Anyone had this, any ideas?
Geert
Another weird thing is, the project does run correctly in the Unity Player itself ...
Things I tried already: reimport Noesis Package, delete build dirs/make files, reboot, switch to other projects (those work!), undo xaml changes since problem started
Anyone had this, any ideas?
Geert
Re: Window->NoesisGUI->Settings not showing / Crashing?
I've been stepping through the Noesis code itself and it's actually crashing during a build.
private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets,
string[] movedAssets, string[] movedFromPath)
{
//Debug.Log(String.Format("ProcessAssets: ADD={0} | REM={1} | MOV={2}",
// importedAssets.Length, deletedAssets.Length, movedAssets.Length));
bool doScan = false;
bool doBuild = false;
for (int i = 0; i < movedAssets.Length; ++i)
{
OnAssetDeleted(movedFromPath, ref doScan);
OnAssetAdded(movedAssets, ref doScan, ref doBuild);
}
foreach (string asset in deletedAssets)
{
OnAssetDeleted(asset, ref doScan);
}
foreach (string asset in importedAssets)
{
OnAssetAdded(asset, ref doScan, ref doBuild);
}
if (doScan || doBuild)
{
if (!EditorApplication.isPlaying)
{
NoesisSettings.ClearLog();
if ((NoesisSettings.ActivePlatforms & NoesisSettings.DX9Platform) > 0)
{
Build("DX9", doScan, doBuild);
}
if ((NoesisSettings.ActivePlatforms & NoesisSettings.GLPlatform) > 0)
{
Build("GL", doScan, doBuild);
}
if ((NoesisSettings.ActivePlatforms & NoesisSettings.IOSPlatform) > 0)
{
Build("IOS", doScan, doBuild);
}
if ((NoesisSettings.ActivePlatforms & NoesisSettings.AndroidPlatform) > 0)
{
Build("ANDROID", doScan, doBuild);
}
UpdateNoesisGUIPaths();
}
else
{
Debug.LogWarning("Can't build NoesisGUI resources while playing. " +
"Please build them manually using NoesisGUI Settings Build button");
}
}
}
private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets,
string[] movedAssets, string[] movedFromPath)
{
//Debug.Log(String.Format("ProcessAssets: ADD={0} | REM={1} | MOV={2}",
// importedAssets.Length, deletedAssets.Length, movedAssets.Length));
bool doScan = false;
bool doBuild = false;
for (int i = 0; i < movedAssets.Length; ++i)
{
OnAssetDeleted(movedFromPath, ref doScan);
OnAssetAdded(movedAssets, ref doScan, ref doBuild);
}
foreach (string asset in deletedAssets)
{
OnAssetDeleted(asset, ref doScan);
}
foreach (string asset in importedAssets)
{
OnAssetAdded(asset, ref doScan, ref doBuild);
}
if (doScan || doBuild)
{
if (!EditorApplication.isPlaying)
{
NoesisSettings.ClearLog();
if ((NoesisSettings.ActivePlatforms & NoesisSettings.DX9Platform) > 0)
{
Build("DX9", doScan, doBuild);
}
if ((NoesisSettings.ActivePlatforms & NoesisSettings.GLPlatform) > 0)
{
Build("GL", doScan, doBuild);
}
if ((NoesisSettings.ActivePlatforms & NoesisSettings.IOSPlatform) > 0)
{
Build("IOS", doScan, doBuild);
}
if ((NoesisSettings.ActivePlatforms & NoesisSettings.AndroidPlatform) > 0)
{
Build("ANDROID", doScan, doBuild);
}
UpdateNoesisGUIPaths();
}
else
{
Debug.LogWarning("Can't build NoesisGUI resources while playing. " +
"Please build them manually using NoesisGUI Settings Build button");
}
}
}
Re: Window->NoesisGUI->Settings not showing / Crashing?
A few questions:
1. What is the problem with the Window->NoesisGUI->Settings dialog? It does not appear or it appears and the button doesn't work?
2. Could you erase the files /Assets/meta.$PLATFORM.cache ? After that you should force a rebuild in the dialog of the point 1.
3. "crashing during a build". What crash are you getting? Could you send us a minidump and the build log? (/Assets/NoesisGUI.build.DX9.log)
1. What is the problem with the Window->NoesisGUI->Settings dialog? It does not appear or it appears and the button doesn't work?
2. Could you erase the files /Assets/meta.$PLATFORM.cache ? After that you should force a rebuild in the dialog of the point 1.
3. "crashing during a build". What crash are you getting? Could you send us a minidump and the build log? (/Assets/NoesisGUI.build.DX9.log)
Re: Window->NoesisGUI->Settings not showing / Crashing?
Hi,
First off, it seems that the Settings dialog problem was unrelated to the other. Actually, when I reverted the Layouts back to Factory Settings in Unity it was showing again.
I furthermore reverted to a backup of my project again yesterday that was working, so I could continue.
If I experience it again I will send you guys a minidump/build log.
Tnx
First off, it seems that the Settings dialog problem was unrelated to the other. Actually, when I reverted the Layouts back to Factory Settings in Unity it was showing again.
I furthermore reverted to a backup of my project again yesterday that was working, so I could continue.
If I experience it again I will send you guys a minidump/build log.
Tnx
Re: Window->NoesisGUI->Settings not showing / Crashing?
There seem to be a bug in Unity with custom menu entries. We have experimented this in the past. Please, make sure that you are using the latest Unity version.
Please, next time you find this problem again, send us the minidump or a zip of the project to examine it.
Thanks!
Please, next time you find this problem again, send us the minidump or a zip of the project to examine it.
Thanks!
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 2 guests