| 
							
							
								 Karrar | d7c7141ae9 | Fixed an issue with predicted objects being simulated when the client is not interested in them. | 2024-11-03 17:52:14 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | f8e745bb32 | Fixed an issue with NetworkSandbox.FindGameObjectWithTag. | 2024-10-27 12:03:45 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 72344a665c | Fixed an issue causing interpolated variables to interpolate between the local default/inspector state towards the initial received server state when the object is first spawned in the client. | 2024-10-25 11:14:25 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | e84924ea8b | Changed how network objects are rolled back. Now, objects are no longer rolled back when they don't have to. Before now, when Prediction Modeof an object was set toEveryone, that caused the object network state to roll back each tick. This is no longer the case. Now, the object network state is only rolled back when it was changed in the client, or the object received new a state from the server. This is a significant improvement in client CPU performance. | 2024-10-25 11:12:35 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | c1b68bae1b | Fixed an issue causing the main scene to duplicate in the client. The duplicate scene gets immediately unloaded. However, it causes DontDestroyOnLoadobjects to duplicate. | 2024-10-17 01:02:52 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | d675fa54e9 | Added ensureSafetyto[Networked]attribute. When it's equal to true, it will ensure that any access to this network variable will be valid and never result in a null reference exception even when Netick is not started. | 2024-10-11 16:22:08 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | ab2f95c53d | Fixed an issue with generic classes inheriting from NetworkBehaviour. | 2024-10-11 09:38:06 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 01d6efd4b4 | Fixed an issue with calculating the normal on a box HitShape. | 2024-10-08 15:36:58 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | d6e0bc5597 | Added [Preserve] attributes to internal Lag Compensation methods to prevent them from being stripped when UnityStripping Levelis set to low or higher. | 2024-09-30 22:21:21 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | e5e068ba19 | Fixed a memory leak in the editor. | 2024-09-29 22:59:13 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | cdf48fbcaa | Fixed an issue with NetworkTransform.GetInterpolationDatawhen agressive rotation compression is turned on. | 2024-09-29 22:52:17 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 0cd07c0c1b | Changed NetworkAwakebehavior. Now,NetworkAwakeshould be reliable and safe to use.NetworkAwakeis invoked immediately when a network object is created, and before any other callbacks. | 2024-09-19 16:23:59 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 5acdcdbebe | Added support for auto-compression (using codegen) to struct field members. Making a float-based field (such as floatorVector3) of a struct a property, and adding[Networked]attribute to it, will allow Netick to provide extra compression on it. This will noticeably reduce client->server bandwidth when done on float-based members of network input types. | 2024-09-18 09:37:17 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | eae8457ca6 | Added NetworkSandbox.IsPlayer. It returns true if this sandbox is a player, which is the case when running as a Client, Host, or in Single-Player mode. | 2024-09-13 23:52:47 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 363bdc191c | Fixed an issue that prevented OnInputfrom being invoked when running inSingle Playerstart mode. | 2024-09-13 20:48:05 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 9a3495c56a | Changed NetworkSandbox.DeattachBehaviourtoNetworkSandbox.DetachBehaviourandNetworkSandbox.DeattachNonNetworkedRigidbodytoNetworkSandbox.DetachNonNetworkedRigidbody, to fix a spelling error. | 2024-09-13 00:25:09 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 8dda03efcf | Added NetworkSandbox.AttachGameObjectandNetworkSandbox.DeattachGameObject. These methods are used to manually attach/detach game objects to/from the visibility system when using sandboxing, and attach/detach rigidbodies to/from the non-networked rigidbody interpolation system that is used to interpolate rigidbodies that are not networked in non-main physics scenes. | 2024-09-13 00:18:52 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 14c122c151 | Fixed an issue with IL2CPP that caused an internal ordering issue that prevented RPCs from working correctly when there are multiple RPCs with similar names in the game project. | 2024-09-12 10:27:16 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | e2944d1ae6 | Removed the Assembliessection in Netick Settings. Now other assemblies are automatically detected. | 2024-09-10 23:14:36 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | f97e60c999 | Added NormaltoLagCompHitandLagCompHit2D. | 2024-09-05 19:28:02 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | cf3aa647cc | Changed NetworkObject.Idto start at 1, instead of 0. This prevents issues where adefaultvalue forNetworkObjectReforNetworkBehaviourRefwould still refer to a valid object/behavior (the object with id 0) instead of referring to null. | 2024-09-02 18:34:04 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 737209385a | Fixed a rare issue that causes an OnChangedmethod not to be invoked when a misprediction occurs (on another variable) that causes the variable to change but noOnChangedcallback is ever invoked, even though the value before rollback and the value after rollback & resimulation weren't the same. | 2024-09-02 18:18:27 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 1a28008960 | Fixed an issue with the previous commit when sending custom user data using LiteNetLib. | 2024-08-27 10:07:35 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 0a8e405e62 | Added settings to LiteNetLibTransportProvider. In addition, made general improvements and fixed a bug when sending user data with a byte size bigger than_bytessize. | 2024-08-27 09:48:24 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | b62d5d40e4 | Changed the variables used for icon offsets in NetworkInfoto have meaningful names. | 2024-08-25 02:09:27 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | d294f65bd7 | Added packet loss stats to NetworkInfoand made several other improvements. | 2024-08-25 01:58:57 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 7e3a31bf94 | Added NetworkSandbox.InPacketLoss,NetworkSandbox.OutPacketLoss,NetworkConnection.InPacketLoss, andNetworkSandbox.OutPacketLoss. These are measurements for inward and outward packet loss. | 2024-08-23 06:05:14 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | b10c8c8f06 | Fixed an issue with parenting network objects. | 2024-08-23 05:53:28 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | bceb246d91 | Fixed an issue with calculating prediction tick offset that was causing missed inputs at very high tickrates (+100). | 2024-08-20 23:12:47 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 9dc1884469 | Fixed an issue with CSP that was causing very frequent speed-ups (which look like jitter) on predicted objects, which was most noticeable on fast-moving objects. | 2024-08-19 02:06:53 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 8795bf71f9 | Fixed an issue causing NetworkBehaviour.OnInputSourceChangedto be invoked beforeOnConnectedToServernetwork event. | 2024-08-14 02:30:02 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 4df683c5ad | Removed OnClientSceneLoadedfromNetworkEventsListener. | 2024-08-09 15:18:48 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 5e581e503c | Removed depreciated OnClientSceneLoadednetwork event. | 2024-08-09 15:17:03 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | fd6781ea83 | Fixed an issue with NetworkDictionaryandNetworkHashSetcausing them to override the memory of adjacent variables. | 2024-08-08 18:18:48 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | f830bc3543 | Fixed an issue with OnChangedDatacausing the retrieved previous value to not always be equal to the actual previous value of the variable. | 2024-08-08 16:56:14 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | fbb5a2800f | Fixed an issue causing the client to destroy all scene network objects when it finishes loading the scene before the server. | 2024-08-08 15:45:41 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 776c38fa86 | Fixed an issue with NetworkHashSetcausing it to override the memory of adjacent variables. The previous commit didn't fully fix the issue withNetworkHashSet. | 2024-08-08 15:18:41 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 4ddbecab0d | Fixed an issue with NetworkDictionaryandNetworkHashSetcausing them to override the memory of adjacent variables. | 2024-08-08 14:58:21 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 22a389784c | Changed the way Ids of Network Objects are assigned. Now Ids are never recycled and reused, instead, they only increment forward. In the future, we will allow the previous behavior too as an option. | 2024-08-08 14:57:08 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 60c1e9323e | Fixed an issue causing only up to 500 bytes worth of unreliable RPCs to be received in the client when sent together at the same tick by the server. | 2024-08-05 10:27:03 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 9db971248b | Fixed a potential null reference error with RPCs. | 2024-08-03 22:41:57 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 3f02ec362c | Added InputReuseAtLowFPStoNetick Settings. Read this for details: https://netick.net/docs/2/articles/understanding-client-side-prediction/writing-client-side-prediction-code.html#framerate-lower-than-tickrate | 2024-08-03 03:19:47 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 417d60b93b | Added a testing change to debug an issue with RPCs. | 2024-08-02 22:11:31 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | d0f76b76e3 | Fixed a typo by changing NetworkEvents.OnClientSceneLoadeddEventtoNetworkEvents.OnClientSceneLoadedEvent. | 2024-08-02 01:04:44 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 0be10715e6 | Removed a testing log from scene loading logic. | 2024-07-31 11:36:55 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | 010cd7a4cc | Added NetworkDictionary<TKey,TValue>,NetworkHashSet<T>andNetworkUnorderedList<T>. | 2024-07-29 04:32:17 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | b2c604dbcb | Fixed a rare issue with Lag Comp that occurs when the client does a query at the time when its Remote Interpolation was reset due to lag. | 2024-07-20 18:05:33 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | d2ef08b789 | Improved RPC error handling. Now, when an exception is thrown inside the body of an RPC method, Netick will no longer kick the calling client, instead, it will only print the exception. | 2024-07-16 11:17:25 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | b24d56ca1b | Fixed an issue causing a child network object to jitter compared to its parent. | 2024-07-15 10:45:03 +03:00 |  | 
			
				
					| 
							
							
								 Karrar | b87f653765 | Testing a fix for a jitter issue that occurs when parenting network objects. | 2024-07-13 09:18:26 +03:00 |  |