Comments (15)
@Mefodei ODIN related issue, guess you may want to have a look?
Yes, i will try to check this one
from unity-addressable-importer.
- 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.
from unity-addressable-importer.
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.
Please provide
- com.unity.addresasbles version
- com.littlebigfun.addressable-importer version
- odin version
- exception details
from unity-addressable-importer.
@Mefodei ODIN related issue, guess you may want to have a look?
from unity-addressable-importer.
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.
That issue on Odin inspector side. They already fix that in v. 3.0.2
from unity-addressable-importer.
@Mefodei thanks for verifying the issue. Issue closed.
from unity-addressable-importer.
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.
from unity-addressable-importer.
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.
from unity-addressable-importer.
@Mefodei I muted ODIN UnityEngine.ExitGUIException error temporarily in b4cb7cf.
from unity-addressable-importer.
Closed by #53
from unity-addressable-importer.
Related Issues (20)
- Constantly warn about missing settings HOT 3
- Missing meta file error at every reload HOT 6
- 排除规则有吗? HOT 5
- about ${PATH[-1]} , Is not convenience for long path to get file name. HOT 3
- AllowGroupCreation checkbox hidden when Odin is present HOT 2
- UnityEngine.ExitGUIException thrown on Saving the Rules list (Odin related) HOT 1
- [Feature Request] Support the creating of dynamic labels HOT 4
- Overlap UI in Unity 2021.1.1f1 HOT 1
- Group Name Replacement via RegEx Capture - Can't force lowercase group name with \L HOT 2
- StackOverflowException when using AssetDatabase.ForceReserializeAssets()
- if content other res update ,this will make other res not update new address HOT 2
- Import Settings Inspector should be less clustered, clearer separation between rules HOT 4
- Support multiple AddressableImportSettings instances HOT 3
- Can not use this with 2021.2 HOT 1
- SaveAssets called when editing prefabs in a folder with a rule HOT 11
- Checking seems not ignoring folder ends with ~ HOT 2
- AddressableImportSettingsList.RebuildSettingsList is should be SetDirty when using ButtonMethodAttribute
- Issues with 0.16.1 HOT 2
- Package Path Support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-addressable-importer.