Search Issue Tracker
Fixed
Votes
0
Found in [Package]
0.2.0
Issue ID
BMUSE-14
Regression
No
When prompt contains > 1024 characters it doesn't generate and throws errors
How to reproduce:
1. Open Muse Sprite or Texture
2. Enter a prompt with 1025 characters or more
3. Click Generate
Expected result: It is impossible to enter a prompt with more than 1024 characters
Actual result: No sprite/texture is generated and errors are thrown in console
Tested with: 2023.3.0a16, Common tools package 1.0.0-pre2 MacOS 14.1.1 M1 Max
Error:
{code:java}
TextToSpriteController.OnSpriteGenerateFailed: Result: ProtocolError Error:HTTP/1.1 400 Bad Request Retry:5 {"success":false,"error":"Validation error: [{'loc': ('body', 'prompt'), 'msg': 'ensure this value has at most 1024 characters', 'type': 'value_error.any_str.max_length', 'ctx': {'limit_value': 1024}}]"}{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Add comment