Skip to content

Commit

Permalink
Fix Instance Duping - @computer-catt
Browse files Browse the repository at this point in the history
  • Loading branch information
CADIndie committed Apr 17, 2024
1 parent db3b4b5 commit b989099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/JNIStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ private void Start()

private static void FillSupportedVersions(List<string> supportedVersions, string[] supportedVersionsArray)
{
supportedVersions.Clear();
supportedVersions.AddRange(supportedVersionsArray);
AndroidJavaObject[] instances = instancesObj.Call<AndroidJavaObject[]>("toArray");
foreach (var instance in instances)
Expand Down
2 changes: 2 additions & 0 deletions ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ PlayerSettings:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: -7708906362836054733, guid: 7b5da002d83fb8f42ac49c354e6f6d31, type: 2}
- {fileID: 6154349898728414384, guid: d659781fbeb3ee24a850529d00b6529e, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
Expand Down

1 comment on commit b989099

@computer-catt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jinx-baloongis

Please sign in to comment.