Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 06:10

I've been running on Unity 2019.3.15f and Noesis 3.0.4 for a while now with no problems.

I tried to upgrade to 3.0.10 tonight. Deleted my Assets/NoesisGUI folder and brought in the new package.

The import SEEMED to be working, but then it never came up with the "Welcome" message. When I checked in Tools -> About Noesis it said it was still 3.0.4

I exited and reloaded Unity. Now the Tools menu is gone and I have no mention of Noesis anywhere in my project and I can't build.

I can delete the Assets/NoesisGUI folder again and copy back in the old folder that I backed up before upgrading and everything goes back to working on 3.0.4

If I try installing the package on a clean project, it seems to work fine. The import finishes and the Welcome to Noesis message comes up.

I tried copying the NoesisGUI folder from the blank project where it installed properly over to my project, but that didn't work either.

What am I doing wrong here? What do I need to properly complete the upgrade to 3.0.10?

Thanks.
 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 11:02

Hi Jamieh,

Have you closed Unity and deleted NoesisGUI/Plugins folder before upgrading?

I followed this steps and the upgrade went fine:
  1. I had a project with NoesisGUI 3.0.4 installed.
  2. Closed Unity.
  3. Deleted NoesisGUI/Plugins folder.
  4. Opened Unity project and ignored compiler errors.
  5. Installed NoesisGUI 3.0.10 package.
Could you try that?
 
Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 18:48

Same thing. It says it is importing all of the PlugIns, but I don't get the "Welcome to Noesis" message and the Tools->Noesis->About still says I'm on 3.0.4 after the upgrade. Then if I exit and re-enter Unity and load my project, there is no Tools menu and Noesis does not seem to be present.

As before, I can revert to 3.0.4 by copying my archived NoesisGUI folder back into the project.

It seems like something must be faulting during the import, though I'm not getting a visual error message. Do I need to be looking in a log somewhere?
 
Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 20:51

I hesitate to post this because it could be a total red-herring, but one of the several times I've tried this, I saw this in the console window. I've only seen it once out of about 7 attempts, so it's possible I did something really wrong this one time:

DllNotFoundException: Noesis
Noesis.GUI.GetBuildVersion () (at Assets/NoesisGUI/Plugins/API/Core/NoesisGUI.cs:34)
NoesisVersion.RestartNeeded () (at Assets/NoesisGUI/Plugins/Editor/NoesisVersion.cs:50)
NoesisUpdater.CheckVersion () (at Assets/NoesisGUI/Plugins/Editor/NoesisUpdater.cs:38)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <a20a50bbfaff4193bf6ba6b262f9a71f>:0)
 
User avatar
jsantos
Site Admin
Posts: 3918
Joined: 20 Jan 2012, 17:18
Contact:

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 22:33

Same thing. It says it is importing all of the PlugIns, but I don't get the "Welcome to Noesis" message and the Tools->Noesis->About still says I'm on 3.0.4 after the upgrade.
The upgrading function is crashing somewhere (if successful it will write the new version at NoesisGUI\Plugins\Editor\version.txt). Nothing is reported at the console?

Was the package moved from its original location?
 
Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 23:07

I am not seeing anything in the Console except for that one time where I had the GetBuildVersion () crash that I posted in above. I will try it again and see if there is anything I'm msising.

Forgive me--what do you mean by was the package moved? You mean the 3.0.4 package I had installed or the new 3.0.10 package? I generally just download them from you guys and drag them directly into Unity from wherever I download them to, so yes, it is possible I moved the 3.0.4 files after I installed them--I'm not sure. I didn't do it intentionally but I have no memory of where I installed it from when I did it last year.
 
User avatar
jsantos
Site Admin
Posts: 3918
Joined: 20 Jan 2012, 17:18
Contact:

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

04 Mar 2021, 23:55

Yes, sorry, I was asking if after installing 3.0.4 you moved it to a different location (default location is Assets/NoesisGUI) because moving the plugin is not supported for now (#1330)
 
Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

05 Mar 2021, 00:19

Ok. No I did not touch the plug in or any installed Noesis stuff. I might have moved the install package somewhere (not really sure) but that shouldn't matter.

If I copy my old 3.0.4 NoesisGUI directory back into the project everything works just as it did before.
 
User avatar
jsantos
Site Admin
Posts: 3918
Joined: 20 Jan 2012, 17:18
Contact:

Re: Trouble upgrading from unity package 3.0.4 to 3.0.10

05 Mar 2021, 13:22

Please, open a private ticket about this. Thanks!

Who is online

Users browsing this forum: Ahrefs [Bot], Polymorph and 9 guests