g33rt
Topic Author
Posts: 23
Joined: 14 Jan 2014, 16:02

Window->NoesisGUI->Settings not showing / Crashing?

25 Mar 2014, 13:55

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
 
g33rt
Topic Author
Posts: 23
Joined: 14 Jan 2014, 16:02

Re: Window->NoesisGUI->Settings not showing / Crashing?

25 Mar 2014, 14:04

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");
}
}
}
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Window->NoesisGUI->Settings not showing / Crashing?

26 Mar 2014, 00:14

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)
 
g33rt
Topic Author
Posts: 23
Joined: 14 Jan 2014, 16:02

Re: Window->NoesisGUI->Settings not showing / Crashing?

26 Mar 2014, 11:05

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
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Window->NoesisGUI->Settings not showing / Crashing?

27 Mar 2014, 11:14

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!

Who is online

Users browsing this forum: Bing [Bot] and 1 guest