Search Issue Tracker
Won't Fix
Won't Fix in 1.0.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.0.X):
There are no fixes planned for this Bug