Skip to content

Commit

Permalink
Revert "Multiplayer Beta (icosa-foundation#774)"
Browse files Browse the repository at this point in the history
This reverts commit d5384b0.
  • Loading branch information
AoZhui committed Jan 8, 2025
1 parent e97eb69 commit bed1b5f
Show file tree
Hide file tree
Showing 103 changed files with 1,669 additions and 16,478 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ jobs:
with:
token: ${{ env.PHOTON_PAT }}
repository: icosa-mirror/photon-fusion
ref: Fusion_v2_Voice_2
ref: v1.1.8
path: photon-fusion-mirror/

- name: Copy photon files
Expand Down Expand Up @@ -449,11 +449,6 @@ jobs:
run: |
sed -e 's/androidUseCustomKeystore.*$/androidUseCustomKeystore: 1/' -i ProjectSettings/ProjectSettings.asset
- name: Add PHOTON_PAT specific define
if: ${{ env.PHOTON_PAT }}
run: |
echo -e "\n -define:MP_PHOTON \n -define:PHOTON_UNITY_NETWORKING \n-define:PUN_2_0_OR_NEWER \n-define:PUN_2_OR_NEWER \n-define:PUN_2_19_OR_NEWER \n-define:FUSION_WEAVER \n-define:FUSION2 \n-define:CROSS_PLATFORM_INPUT \n-define:MOBILE_INPUT \n-define:PHOTON_VOICE_DEFINED" | tee -a Assets/csc.rsp
- name: Update build matrix specific defines in csc.rsp
if: ${{ matrix.extra_defines }}
run: |
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ Packages/com.unity.xr.picoxr
/Assets/Photon/**
/Assets/Photon.meta
!/Assets/Photon/Fusion/Resources/NetworkProjectConfig.fusion*
!/Assets/Photon/Fusion/Resources/PhotonAppSettings.asset*
!/Assets/Photon/Fusion/User/NetworkPrefabAssetCollection.asset*

# Cache files
*.cache
4 changes: 2 additions & 2 deletions Assets/Editor/BuildTiltBrush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ static void ShowBrushExportTextures()
using (var unused = new TempHookUpSingletons())
{
// Set consultUserConfig = false to keep user config from affecting the build output.
TiltBrushManifest manifest = App.Instance.ManifestFull;
TiltBrushManifest manifest = App.Instance.GetMergedManifest(forceExperimental: true);

StringBuilder s = new StringBuilder();
foreach (BrushDescriptor desc in manifest.UniqueBrushes())
Expand Down Expand Up @@ -1547,7 +1547,7 @@ public static void DoBuild(TiltBuildOptions tiltOptions)
// to be run at build-time (ie when nobody has called Start(), Awake()).
// TempHookupSingletons() has done just enough initialization to make it happy.
// Also set consultUserConfig = false to keep user config from affecting the build output.
TiltBrushManifest manifest = App.Instance.ManifestFull;
TiltBrushManifest manifest = App.Instance.GetMergedManifest(forceExperimental: true);

// Some sanity checks
{
Expand Down
189 changes: 0 additions & 189 deletions Assets/Editor/MultiplayerManagerEditor.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Assets/Editor/MultiplayerManagerEditor.cs.meta

This file was deleted.

12 changes: 2 additions & 10 deletions Assets/OculusMR/OculusMRController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,11 @@ public async void StartMRExperience(bool isHosting)
{
await m_SpatialAnchorManager.CreateSpatialAnchor();
m_SpatialAnchorManager.SceneLocalizeToAnchor();
MultiplayerManager.m_Instance.JoinRoom(new RoomCreateData()
{
roomName = "OculusMRRoom",
maxPlayers = 12
});
MultiplayerManager.m_Instance.Connect();
}
else
{
MultiplayerManager.m_Instance.JoinRoom(new RoomCreateData()
{
roomName = "OculusMRRoom",
maxPlayers = 12
});
MultiplayerManager.m_Instance.Connect();
}
}

Expand Down
Loading

0 comments on commit bed1b5f

Please sign in to comment.