Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.0-pre.6
Issue ID
AIWFB-24
Regression
No
Entering random numbers in Custom Seed field throws ArgumentOutOfRangeException error
How to reproduce:
1. Create a new project and install the "AI Generators" package
2. In the Project window, right-click -> Create -> 2D -> Generate Sprite
3. In Options > enable Custom Seed
4. Start typing random numbers
Actual results: Error is thrown ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
Expected results: No errors, limited size of numbers can be put in field
Reproducible with: AI Generators 1.0.0-pre.6 (6000.2.0a10)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Full error:
{code:java}
ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
System.String.Insert (System.Int32 startIndex, System.String value) (at <fa645a61d2b74251bf1d0456b45056e5>:0)
UnityEngine.TextEditingUtilities.ReplaceSelection (System.String replace) (at <a25e427dce4d4ec98847b1aec292a590>:0)
UnityEngine.TextEditingUtilities.Insert (System.Char c) (at <a25e427dce4d4ec98847b1aec292a590>:0)
UnityEngine.UIElements.KeyboardTextEditorEventHandler.OnKeyDown (UnityEngine.UIElements.KeyDownEvent evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.KeyboardTextEditorEventHandler.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.TextEditingManipulator.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.TextElement.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToFocusedElementOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.KeyboardEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <a25e427dce4d4ec98847b1aec292a590>:0)
{code}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
Resolution Note:
There are no fixes planned for this Bug