vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
64 stars 446 forks source link

[BUG]Project created with certain characters creates nonexistent file! #545

Open NixTheFemboy opened 3 weeks ago

NixTheFemboy commented 3 weeks ago

Describe the bug

When creating a new project, if name the file with anything ending with "..." it will fail too create it, but create a file in that location which does not exist and is undeletable/unmovable without the help of administrative command prompt!

To Reproduce

Go to "Create New Project" Select any of the templates Name the project anything ending with "..."

Expected behavior

Creator Companion will try too create the project file, failing to do so It will result in a folder that is undeletable and unmovable without Command Prompt using Administrative privileges

Screenshots

Screenshot 2024-10-17 133316 Screenshot 2024-10-17 133329

Related Product

VCC (VRChat Creator Companion)

Product Version

2.3.4

OS

Windows 10

Additional context

No response

orels1 commented 2 weeks ago

Thanks for the report! Seems like we missed continuous dots at the end as a part of our path validation.