Skip to content

Commit ad44e93

Browse files
authored
Fix the failing builds due to ProfileManager changes (#588)
1 parent 9d189c7 commit ad44e93

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Assets/BossRoom/Scripts/Shared/ProfileManager.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
using UnityEngine;
1+
using System;
22

33
#if UNITY_EDITOR
4-
using System;
54
using System.Security.Cryptography;
65
using System.Text;
76
#endif
87

8+
using UnityEngine;
9+
910
namespace Unity.Multiplayer.Samples.BossRoom.Shared
1011
{
1112
public static class ProfileManager
@@ -38,10 +39,9 @@ static string GetProfile()
3839
.ComputeHash(Encoding.UTF8.GetBytes(Application.dataPath));
3940
Array.Resize(ref hashedBytes, 16);
4041
return new Guid(hashedBytes).ToString("N");
41-
42-
#endif
43-
42+
#else
4443
return "";
44+
#endif
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)