Search Issue Tracker
Won't Fix
Votes
4
Found in
2020.3.46f1
2021.3.20f1
2022.2.9f1
2023.1.0b7
2023.2.0a6
2023.3.0a3
Issue ID
UUM-29954
Regression
No
persistentDataPath is not identical to the Product Name when the project is opened or played in the Unity Editor first
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|https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html|smart-link]
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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.