Граф коммитов

204 Коммитов

Автор SHA1 Сообщение Дата
Luke Stampfli af696175c6
chore: merge fixes to photon to main (#124) 2021-11-12 06:56:01 +00:00
Luke Stampfli 8dded1c742
fix: replace usages of MLAPI with Netcode in js part (#123) 2021-11-12 06:55:43 +00:00
Quentin Leon 93febe1faa
Facepunch Transport fix (#116)
* fixed 'Received a message that claimed a size larger than the packet, ending early' warning which caused clients to not load in properly

* removed unnecessary unsafe buffer copy from Transport.Send override
2021-11-01 12:42:52 +00:00
Luke Stampfli b08829c71c
docs: fix transport install link in readme (#114) 2021-10-25 11:55:57 +01:00
Luke Stampfli b32ffdd464
Update to release 1.0.0 (#112)
* fix: Update namespaces to latest MLAPI develop and fix asmdef reference

* fix for C# diff with unity beta 6

* photon update

* feat: update litnetlib to latest Transport API

* chore: Remove old commented code

* Update photon transport to latest API changes.

- Remove channels

* update template transport

* update facepunch (#104)

* update ruffles (#107)

* update websocket (#106)

* update steamp2p (#105)

* update photon realtime (#108)

* update photon

* make connect async

* define payload out param as default

* update enet (#103)

* update enet

* Add changelog bump package version

* remove sockettask api

* reduce channel count to 1 and add comment explaining it

* update litenetlib (#110)

* update litenetlib

* remove sockettask API

* Update extensions package (#102)

* feat!: remove NetworkRigidbody as there is now a solution in the core package

* update lag compensation

* update discovery and hud. Don't work yet because UnityTransport does not expose read access to ip/port

* update pool

* remove patcher

* update namespaces

* rename extensions package folder

* update repository documentation (#109)

Co-authored-by: Samuel Bellomo <samuel.bellomo@unity3d.com>
Co-authored-by: Valere91Unity <valere.plantevin@unity3d.com>
Co-authored-by: Valere Plantevin <89042540+VALERE91Unity@users.noreply.github.com>
2021-10-21 14:19:04 +01:00
Nathanael Demacon 2583c66903
Handle WebSocket Secure servers (#100) 2021-10-08 09:16:54 +01:00
SushiWaUmai e94f42ddb9
Updated main README.md for NetworkRigidBody2D (#91) 2021-09-10 14:40:47 +01:00
Sami Habib c27895c357
fix: Photon generates a random nickname if none is provided (#92) 2021-09-08 20:03:59 +01:00
SushiWaUmai dfc1fb9ec6
feat: Add Rigidbody2D extension (#88)
* Add Rigidbody2D extension

* simplified NetworkRigidbody2D by removing callbacks
2021-08-31 14:46:41 +01:00
Luke Stampfli 6db9033b2e
Patchfix line mentioning MLAPI 2021-08-26 15:42:20 +01:00
Luke Stampfli 7ce0c217ff
Rebrand repository documentation (#90) 2021-08-26 15:40:23 +01:00
Luke Stampfli 7e98280b38
Patch up readme footnotes 2021-08-16 08:18:40 +01:00
Luke Stampfli 911fa22d27
feat: network discovery (#84)
* feat: network discovery

* docs: network discovery readme

* docs: update readme docs

* docs: Update websocket readme
2021-08-16 08:16:43 +01:00
Nathanael Demacon cc72630721
Feature: Implement WebSocket transport (#86)
* Feature: Implement WebSocket transport

* Refactor: Remove unused `Debug.Log` calls

* Feature: Directly use websocket-sharp sources

* Document: Add the relevant documentation for websocket-sharp library
2021-08-06 16:26:25 +01:00
Luke Stampfli 367a0bfa65
fix: facepunch cleanup (#85)
* fix: Wrap editor stuff in ifdefs to allow for builds

* docs: Add facepunch transport to readme
2021-08-05 11:20:54 +01:00
Cha Hoseong 88726b86a9
Fix obsoleted code. (#79)
PhotonPeer.ClientVersion is obsoleted. from now on use PhotonPeer.Version.
2021-08-04 19:46:33 +01:00
Floris van Onna 973267e32e
Feature: Add Facepunch SteamSockets Transport (#66)
* Initial commit for Facepunch Transport

* Changed copied byte buffer in Send method to allocate on the stack instead of on the heap

* Slight refactor in Send method, and Switched from NetworkLog to Debug.Log

* Fixed leftover from partially complete implementation of rtt measuring.

* Updated Readme to include Facepunch version and improved formatting

* Change transport from poll-based to event-based

Changes proposed by TwoTen

Co-authored-by: Nico Thomas <thomasnico@web.de>
2021-07-31 14:14:20 +01:00
Fachry Ichsan Putra a1d21b52ce
fix: data outofbounds (#81) 2021-07-14 11:11:15 +01:00
Tobias-EG e47ee18972
Fix for several potential NullReferenceException cases. (#73)
* FIXED: NullreferenceException on import. The Window opens so early that the AppSettingsInstance can be null still.

* FIXED: Issue "Photon exception on client after disconnect event" (#70).

* ADDED: Limit for the number of datagrams sent in a single frame. Simple way to avoid overloading the local network.

* FIXED: Potential nullreference exception in DisconnectRemoteClient (should the local client get disconnected before this is called).

* ADDED: TransportEvent Disconnect for case when RaisePhotonEvent can't succeed (client is null or not in room).
2021-06-02 12:40:56 +01:00
Tobias-EG c0aacade77
UPDATED: To Photon Realtime v4.1.6.0. (#74) 2021-05-31 13:47:29 +01:00
Liam 1bb825941d
Upgrade Steamworks.NET to version 15.0.1 (#67) 2021-05-29 15:07:53 +01:00
Luke Stampfli 76a1828668
fix: Remove missing NetworkVariableSettingsUtility references (#75) 2021-05-29 14:29:13 +01:00
Luke Stampfli a03cb4065f
fix: Fix missing meta files for NetworkRigidbody (#72) 2021-05-24 07:49:51 +01:00
Cosmin faa77c81d0
Merge pull request #64 from Unity-Technologies/fix/enet-clear-peers-shutdown
fix: Fix a bug where enet transport does not clear peers on shutdown
2021-05-05 10:07:47 +01:00
Luke Stampfli 4394367e75 fix: Fix a bug where enet transport does not clear peers on shutdown causing issues when restarting the NetworkManager 2021-04-28 13:59:19 +02:00
Luke Stampfli bb383dbb85
Merge pull request #63 from Unity-Technologies/master
merge master to main
2021-04-28 10:41:31 +01:00
Luke Stampfli 178b024682
Merge pull request #61 from NamelessNewbie/enet_shutdown_fix
Fix: EnetTransport shutdown - explicitly set host to null to prevent error spam.
2021-04-28 10:39:28 +01:00
David Gilbert 7c2278261a
Update EnetTransport.cs 2021-04-27 09:52:27 +02:00
Luke Stampfli 94f07d88ca
Merge pull request #57 from Photon-Client/update/accountorigin
ADDED: An "origin" asset version for registration requests.
2021-04-23 11:41:45 +02:00
Tobias Schweers 26946b4476 ADDED: An origin asset version for registration requests. 2021-04-20 17:40:08 +02:00
Luke Stampfli 8e24931aeb
fix: Fix null ref exception when shuttting down litenetlib without initializing it. (#51) 2021-04-09 10:54:16 +02:00
Luke Stampfli 03f39bf2d3
docs: cleanup license and use Unity .md conventions (#46) 2021-04-08 11:19:45 +01:00
Tobias-EG 5d4c389555
Updated: To Photon Realtime v4.1.5.3. Now using a .Net Standard Photon dll by default. (#54) 2021-04-08 11:16:37 +01:00
Luke Stampfli eed524d771 fix: Remove ruffles gitignore, fix meta files 2021-04-08 11:29:18 +02:00
becksebenius-unity 891c9889a2
feat: Add NetworkRigidbody extension (#35)
* Added NetworkRigidbody component

* Added readme

* docs: Include NetworkRigidbody in readme

Co-authored-by: Luke Stampfli <43687322+LukeStampfli@users.noreply.github.com>
2021-04-08 09:48:10 +01:00
Cosmin ea6c2d8db0
Merge pull request #52 from Unity-Technologies/feature/photon-realtime-docs
docs: fix formatting and minor additional fixes for photon-realtime readme
2021-04-07 09:39:18 +01:00
Cosmin b058694565 docs: fix formatting and minor additional fixes for photon-realtime transport readme 2021-04-07 09:31:28 +01:00
Tobias-EG 455802846c
Added more detail to the wizard registration flow. Cleaned up the indenting. (#48) 2021-04-07 09:19:46 +01:00
Luke Stampfli 8aaf3a5e7a
Merge pull request #50 from Unity-Technologies/fix/steamp2p-managed-plugins
fix: Fix managed plugin settings for windows platform dlls
2021-04-06 12:04:42 +02:00
Luke Stampfli c915ae6b24 fix: Fix managed plugin settings for windows platform dlls 2021-04-06 10:47:44 +02:00
Luke Stampfli 3f0350ae57
Merge pull request #47 from Unity-Technologies/fix/disconnect-remote-client
fix: Fixes the function used to disconnect remote clients.
2021-04-01 21:43:27 +02:00
Luke Stampfli d54b6b9f42 fix: Fixes the function used to disconnect remote clients. Passing an arraysegment with null to Photon Realtime is not supported. 2021-04-01 13:33:53 +02:00
Luke Stampfli 05d8e5bf62
feature: photon realtime transport (#43)
* feat: Add photon realtime source

* feat: Add photon realtime transport

* feat: Update namespaces

* docs: Update readme and third party notices

* docs: Update realtime supported versions

* chore: fix folder name

* docs: Fix relative link in readme

* docs: use absolute link for license

* docs: Add Photon Setup guide

* docs: fix some typos and formatting of the Photon Setup Guide

* docs: another small formatting fixes in Photon Setup Guide readme

* docs: add note about photon console support

* fix: add missing meta files

* feat: Add property to access underlying photon client

* docs: Add third party disclaimer to license

Co-authored-by: Cosmin <cosmin.bararu@unity3d.com>
2021-04-01 12:25:23 +01:00
Luke Stampfli 3984326377
Merge pull request #44 from Unity-Technologies/chore/remove-broken-dependencies
chore: Remove dependencies to mlapi which are not doing anything
2021-03-30 12:17:54 +02:00
Luke Stampfli d1213fcce3 chore: Remove dependencies to mlapi which are not doing anything 2021-03-30 11:17:09 +01:00
Luke Stampfli e5a2ce50cc
Merge pull request #41 from Unity-Technologies/feature/steammanager
feature: Add steammanager to steam transport
2021-03-23 21:35:05 +01:00
Luke Stampfli 6a21246d97 feature: Add steammanager to steam transport because lot of people will use it. 2021-03-23 20:34:01 +00:00
Luke Stampfli a99503799d
Fix transport namespaces and auto reference asmdefs (#40)
* Fix transport namespaces and auto reference asmdefs

* feat: Update template transport
2021-03-23 20:17:33 +00:00
Luke Stampfli a7cfac0a9a
featuer: mlapi patcher (#39)
* feat: Add patcher package for updating MLAPI

* fix: Missing using declaration

* Improve naming

* Improve regex

* Cleanup structure and meta files

* Improve replacement regex

* Add link to upgrade guide in readme

* update asmdef :)
2021-03-23 15:04:05 +00:00
Luke Stampfli 89b57b6331
feature: lag compensation (#36)
* no message

* feat: Encapsulate lag compensation as a separte independent system.

* feat: Add sync transform if disabled in settings

* feat: Add readme
2021-03-23 10:22:13 +00:00