Search Issue Tracker

Won't Fix

Votes

0

Found in

5.0.0a17

Issue ID

620349

Regression

No

Reflection Probe bake data is always saved to a folder with the same name as its containing scene

Graphics - General

-

This can't possible be good or safe. What happens if the user already has a folder called the same as a scene? What if there are already cubemaps with the same name as the ones generated by the Bake in the user's project? We should either come up with a longer, more specific (hard to find in user projects) folder name or let the user pick the folder where the baked data is being saved or save the data outside the Assets folder somewhere (though that would mean they can't be previewed in the Inspector).

Anyway, simply saving the baked data in a folder with the same name as the scene doesn't sound good enough.

Example of weird stuff happening:
- I have scene "test" that has a lightprobe
- I bake that and the data is saved in a folder called "test"
- I later rename my scene "test2"
- I rebake the light probe and the data is saved in a "test2" folder, but the "test" one is still there
So, which one is my latest baked data? Can I delete one of the folders? Which one? What if the user renames the folder to "LightProbeData" or something else? The user shouldn't get into situations like these.

Bottom line is that the way this information is stored needs to be rethinked (I think we do the exact same thing for lightmap baked data) which is bad for the same reasons.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.