We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79dd4dc commit 01ca7c5Copy full SHA for 01ca7c5
Assets/UXF/Scripts/UI/ExperimentProfileSelector.cs
@@ -37,6 +37,12 @@ void Start()
37
38
public void Populate(bool retry = true)
39
{
40
+ if (!Directory.Exists(Application.streamingAssetsPath))
41
+ {
42
+ Debug.LogWarning("StreamingAssets folder was moved or deleted! Creating a new one.");
43
+ Directory.CreateDirectory(Application.streamingAssetsPath);
44
+ }
45
+
46
var profileNames = Directory.GetFiles(Application.streamingAssetsPath, uiController.settingsSearchPattern)
47
.Select(f => Path.GetFileName(f))
48
.ToList();
0 commit comments