How to reproduce:
1. Open the "PersistentFolderName" project
2. Open the "SampleScene"
3. Observe that the Product Name is "a.b.c" (Edit > Project Settings > Player)
4. In Play Mode observe that in Game view the path ends with “a_b_c”
5. Build And Run, and observe that in Player the path ends with “a_b_c”
6. Locate the persistentDataPath, and observe that there are two folders “a_b_c” and “a.b.c”
7. Delete "a_b_c" and "a.b.c" folders
8. Build And Run, and observe that in Player the path ends with “a.b.c”
9. In Play Mode observe that in Game view the path ends with “a.b.c”
10. Observe that in the persistentDataPath folder, there is only the "a.b.c" folder
Expected result: regardless if the project is launched through the Unity Editor first or the build, the persistentDataPath is identical to the Product Name of the project
Actual result: if the project is opened or played in the Unity Editor first, the persistentDataPath folder is not identical to the Product Name of the project
Reproduced with: 2020.3.46f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b7, 2023.2.0a6
Reproduced on: Windows 11
Note: Depending on the build and the operating system, the location will be different, it can be found here https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html