GithubHelp home page GithubHelp logo

Comments (15)

Mefodei avatar Mefodei commented on June 30, 2024 2

@Mefodei ODIN related issue, guess you may want to have a look?

Yes, i will try to check this one

from unity-addressable-importer.

tamarillostudio avatar tamarillostudio commented on June 30, 2024 1
  • com.unity.addresasbles version : 1.16.7
  • com.littlebigfun.addressable-importer version : 0.9.3
  • odin version : 3.0.1.0
  • exception details
    it occurs on click save button. It looks not affect save function.
    UnityEngine.ExitGUIException: Exception of type 'UnityEngine.ExitGUIException' was thrown.
    at Sirenix.OdinInspector.Editor.InspectorProperty.Draw (UnityEngine.GUIContent defaultLabel) [0x00493] in X:\Repositories\sirenix-development\Sirenix Solution\Sirenix.OdinInspector.Editor\Core\InspectorProperty.cs:837
    at Sirenix.OdinInspector.Editor.PropertyTree.DrawProperties () [0x00019] in X:\Repositories\sirenix-development\Sirenix Solution\Sirenix.OdinInspector.Editor\Core\PropertyTree.cs:485
    at Sirenix.OdinInspector.Editor.PropertyTree.Draw (System.Boolean applyUndo) [0x00007] in X:\Repositories\sirenix-development\Sirenix Solution\Sirenix.OdinInspector.Editor\Core\PropertyTree.cs:389
    at UnityAddressableImporter.Editor.Helper.AddressableImporterFilterOdinHandler.Draw () [0x0000f] in /TestProject/Library/PackageCache/[email protected]/Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs:56
    UnityEngine.Debug:LogError(Object)
    UnityAddressableImporter.Editor.Helper.AddressableImporterFilterOdinHandler:Draw() (at Library/PackageCache/[email protected]/Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs:60)
    UnityAddressableImporter.Editor.Helper.AddressableImporterOdinHandler:DrawInspectorTree(String) (at Library/PackageCache/[email protected]/Editor/OdinSupport/AddressableImporterOdinHandler.cs:49)
    UnityAddressableImporter.Editor.Helper.AddressableImporterOdinHandler:Draw() (at Library/PackageCache/[email protected]/Editor/OdinSupport/AddressableImporterOdinHandler.cs:26)
    UnityAddressableImporter.Helper.Internal.AddressableImportSettingsEditor:DrawBaseEditor() (at Library/PackageCache/[email protected]/Editor/Helper/AddressableImportSettingsEditor.cs:57)
    UnityAddressableImporter.Helper.Internal.AddressableImportSettingsEditor:OnInspectorGUI() (at Library/PackageCache/[email protected]/Editor/Helper/AddressableImportSettingsEditor.cs:42)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

from unity-addressable-importer.

Mefodei avatar Mefodei commented on June 30, 2024 1

@favoyang
#53

from unity-addressable-importer.

issue-label-bot avatar issue-label-bot commented on June 30, 2024

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

Please provide

  • com.unity.addresasbles version
  • com.littlebigfun.addressable-importer version
  • odin version
  • exception details

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

@Mefodei ODIN related issue, guess you may want to have a look?

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

Hi @tamarillostudio,

Sorry for the long delay. I have made a simple change related to ODIN (f8d9bba), but it only affects the initial importer error.

I don't have an issue when hit the save button.

  • com.unity.addresasbles version : 1.16.15
  • com.littlebigfun.addressable-importer version : 0.9.4
  • ODIN version : 3.0.2
  • Unity 2020.2.0f1

Could you give 0.9.4 a try and also upgrade ODIN to 3.0.2?

from unity-addressable-importer.

Mefodei avatar Mefodei commented on June 30, 2024

That issue on Odin inspector side. They already fix that in v. 3.0.2

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

@Mefodei thanks for verifying the issue. Issue closed.

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

We have a new duplicated new issue #46. I tested with

  • addressables 1.16.19
  • odin 3.0.5.0
  • importer 0.9.4

I still get the same error.

UnityEngine.ExitGUIException: Exception of type 'UnityEngine.ExitGUIException' was thrown.

I checked related odin patch notes: https://odininspector.com/patch-notes, since 3.0.2

Fix:

  • GUIUtility.ExitGUI() is now called after all button clicks, meaning that button methods that invalidate the GUI state should no longer cause a multitude of exceptions related to layout and other GUI states to be thrown after they're done executing.

It seems that we could just ignore the issue.

        public void Draw()
        {
            try
            {
                FilterRules(_searchFilter);
                _drawerTree.Draw();
                ApplyChanges();
            }
            catch (Exception e)
            {
                Debug.LogError(e);
            }
        }

=> 
        public void Draw()
        {
                FilterRules(_searchFilter);
                _drawerTree.Draw();
                ApplyChanges();
        }

Thought?

from unity-addressable-importer.

Mefodei avatar Mefodei commented on June 30, 2024

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

@Mefodei

Thanks for the quick reply! Will that fix the issue entirely? Please submit a PR, I would like to test it.

I think we can force odin 3 and drop version 2 support.

from unity-addressable-importer.

Mefodei avatar Mefodei commented on June 30, 2024

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

@Mefodei I muted ODIN UnityEngine.ExitGUIException error temporarily in b4cb7cf.

from unity-addressable-importer.

favoyang avatar favoyang commented on June 30, 2024

Closed by #53

from unity-addressable-importer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.