[BUG] Crash when inputting a filename with punctuation
bug
**EA Version?**
1.6.2
**Info about your device**
Processor: 12th Gen Intel(R) Core(TM) i7-1255U (1.70 GHz)
Installed RAM: 16.0 GB (15.7 GB usable)
Graphics card: Intel(R) Iris(R) Xe Graphics (128 MB)
System type: 64-bit operating system, x64-based processor
**Describe the bug**
Including more than one period or any number of question marks at the end of the "filename" section when making a level will cause the game to crash.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to the Custom Levels section
2. Scroll down to and click "Create Level"
3. In the first input spot, where it says "Filename: Custom Levels/[any extra folders]/ ____" put either a question mark or multiple periods.
If using periods, only put them at the end, and make sure to use more than one.
If using question marks, they can go anywhere in the filename, and you can use any amount.
4. Put anything in the "Variant Name" section
5. Click "Create Level"
I tested exclamation marks, and they seem to work fine, but it's possible I missed other characters that have the same effect.
**Expected behavior**
Upon clicking "create level", the game will instantly crash.
**Screenshots**
<img width="537" height="146" alt="Image" src="https://github.com/user-attachments/assets/35a8141e-3d52-410a-8f9b-4168214230b4" />
**Additional context**
[crashlog-1782012672.txt](https://github.com/user-attachments/files/29170660/crashlog-1782012672.txt)
**By submitting this, I am confirming that I have read the [README](https://github.com/DPS2004/Beatblock-issues/blob/main/README.md) and am using the latest version of Beatblock.**
0 条评论