├── .DS_Store ├── .gitattributes ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .vscode └── settings.json ├── Assets ├── MyWebSocketServer.cs ├── MyWebSocketServer.cs.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── WebSocketServer.meta └── WebSocketServer │ ├── WebSocketConnection.cs │ ├── WebSocketConnection.cs.meta │ ├── WebSocketProtocol.cs │ ├── WebSocketProtocol.cs.meta │ ├── WebSocketServer.cs │ └── WebSocketServer.cs.meta ├── LICENSE ├── Logs ├── ApiUpdaterCheck.txt ├── AssetImportWorker0-prev.log ├── AssetImportWorker0.log ├── Packages-Update.log ├── shadercompiler-AssetImportWorker0.log ├── shadercompiler-UnityShaderCompiler0.log ├── shadercompiler-UnityShaderCompiler1.log ├── shadercompiler-UnityShaderCompiler2.log ├── shadercompiler-UnityShaderCompiler3.log ├── shadercompiler-UnityShaderCompiler4.log ├── shadercompiler-UnityShaderCompiler5.log ├── shadercompiler-UnityShaderCompiler6.log └── shadercompiler-UnityShaderCompiler7.log ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── XRSettings.asset ├── README.md └── UserSettings └── EditorUserSettings.asset /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaunabanana/unity-websocket-server/d0878518e29de02370f85add651beaa566847c42/.DS_Store -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: bug 6 | assignees: shaunabanana 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Software versions (please complete the following information):** 27 | - OS: [e.g. macOS Big Sur (11.2.3)] 28 | - Unity version [e.g. 2020.5.3] 29 | 30 | **Additional context** 31 | Add any other context about the problem here. 32 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: enhancement 6 | assignees: shaunabanana 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | Assets/AssetStoreTools* 7 | 8 | # Visual Studio cache directory 9 | .vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | *.opendb 26 | *.VC.db 27 | 28 | # Unity3D generated meta files 29 | *.pidb.meta 30 | *.pdb.meta 31 | 32 | # Unity3D Generated File On Crash Reports 33 | sysinfo.txt 34 | 35 | # Builds 36 | *.apk 37 | *.unitypackage 38 | 39 | # macOS 40 | .DS_Store 41 | *.DS_Store -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.exclude": 3 | { 4 | "**/.DS_Store":true, 5 | "**/.git":true, 6 | "**/.gitignore":false, 7 | "**/.gitmodules":true, 8 | "**/*.booproj":true, 9 | "**/*.pidb":true, 10 | "**/*.suo":true, 11 | "**/*.user":true, 12 | "**/*.userprefs":true, 13 | "**/*.unityproj":true, 14 | "**/*.dll":true, 15 | "**/*.exe":true, 16 | "**/*.pdf":true, 17 | "**/*.mid":true, 18 | "**/*.midi":true, 19 | "**/*.wav":true, 20 | "**/*.gif":true, 21 | "**/*.ico":true, 22 | "**/*.jpg":true, 23 | "**/*.jpeg":true, 24 | "**/*.png":true, 25 | "**/*.psd":true, 26 | "**/*.tga":true, 27 | "**/*.tif":true, 28 | "**/*.tiff":true, 29 | "**/*.3ds":true, 30 | "**/*.3DS":true, 31 | "**/*.fbx":true, 32 | "**/*.FBX":true, 33 | "**/*.lxo":true, 34 | "**/*.LXO":true, 35 | "**/*.ma":true, 36 | "**/*.MA":true, 37 | "**/*.obj":true, 38 | "**/*.OBJ":true, 39 | "**/*.asset":true, 40 | "**/*.cubemap":true, 41 | "**/*.flare":true, 42 | "**/*.mat":true, 43 | "**/*.meta":true, 44 | "**/*.prefab":true, 45 | "**/*.unity":true, 46 | "build/":true, 47 | "Build/":true, 48 | "Library/":true, 49 | "library/":true, 50 | "obj/":true, 51 | "Obj/":true, 52 | "ProjectSettings/":true, 53 | "temp/":true, 54 | "Temp/":true 55 | } 56 | } -------------------------------------------------------------------------------- /Assets/MyWebSocketServer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | using WebSocketServer; 6 | 7 | public class MyWebSocketServer : WebSocketServer.WebSocketServer 8 | { 9 | override public void OnOpen(WebSocketConnection connection) { 10 | // Here, (string)connection.id gives you a unique ID to identify the client. 11 | Debug.Log(connection.id); 12 | } 13 | 14 | override public void OnMessage(WebSocketMessage message) { 15 | // (WebSocketConnection)message.connection gives you the connection that send the message. 16 | // (string)message.id gives you a unique ID for the message. 17 | // (string)message.data gives you the message content. 18 | Debug.Log(message.connection.id); 19 | Debug.Log(message.id); 20 | Debug.Log(message.data); 21 | } 22 | 23 | override public void OnClose(WebSocketConnection connection) { 24 | // Here is the same as OnOpen 25 | Debug.Log(connection.id); 26 | } 27 | 28 | public void onConnectionOpened (WebSocketConnection connection) { 29 | Debug.Log("Connection opened: " + connection.id); 30 | } 31 | 32 | public void onMessageReceived (WebSocketMessage message) { 33 | Debug.Log("Received new message: " + message.data); 34 | } 35 | 36 | public void onConnectionClosed (WebSocketConnection connection) { 37 | Debug.Log("Connection closed: " + connection.id); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/MyWebSocketServer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cae6cd5a80444e79b49b1b23e819bb0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ebafb77ac26644d5add696267d4e150 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 0 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 0} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &519420028 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 519420032} 135 | - component: {fileID: 519420031} 136 | - component: {fileID: 519420029} 137 | m_Layer: 0 138 | m_Name: Main Camera 139 | m_TagString: MainCamera 140 | m_Icon: {fileID: 0} 141 | m_NavMeshLayer: 0 142 | m_StaticEditorFlags: 0 143 | m_IsActive: 1 144 | --- !u!81 &519420029 145 | AudioListener: 146 | m_ObjectHideFlags: 0 147 | m_CorrespondingSourceObject: {fileID: 0} 148 | m_PrefabInstance: {fileID: 0} 149 | m_PrefabAsset: {fileID: 0} 150 | m_GameObject: {fileID: 519420028} 151 | m_Enabled: 1 152 | --- !u!20 &519420031 153 | Camera: 154 | m_ObjectHideFlags: 0 155 | m_CorrespondingSourceObject: {fileID: 0} 156 | m_PrefabInstance: {fileID: 0} 157 | m_PrefabAsset: {fileID: 0} 158 | m_GameObject: {fileID: 519420028} 159 | m_Enabled: 1 160 | serializedVersion: 2 161 | m_ClearFlags: 2 162 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 163 | m_projectionMatrixMode: 1 164 | m_GateFitMode: 2 165 | m_FOVAxisMode: 0 166 | m_SensorSize: {x: 36, y: 24} 167 | m_LensShift: {x: 0, y: 0} 168 | m_FocalLength: 50 169 | m_NormalizedViewPortRect: 170 | serializedVersion: 2 171 | x: 0 172 | y: 0 173 | width: 1 174 | height: 1 175 | near clip plane: 0.3 176 | far clip plane: 1000 177 | field of view: 60 178 | orthographic: 1 179 | orthographic size: 5 180 | m_Depth: -1 181 | m_CullingMask: 182 | serializedVersion: 2 183 | m_Bits: 4294967295 184 | m_RenderingPath: -1 185 | m_TargetTexture: {fileID: 0} 186 | m_TargetDisplay: 0 187 | m_TargetEye: 0 188 | m_HDR: 1 189 | m_AllowMSAA: 0 190 | m_AllowDynamicResolution: 0 191 | m_ForceIntoRT: 0 192 | m_OcclusionCulling: 0 193 | m_StereoConvergence: 10 194 | m_StereoSeparation: 0.022 195 | --- !u!4 &519420032 196 | Transform: 197 | m_ObjectHideFlags: 0 198 | m_CorrespondingSourceObject: {fileID: 0} 199 | m_PrefabInstance: {fileID: 0} 200 | m_PrefabAsset: {fileID: 0} 201 | m_GameObject: {fileID: 519420028} 202 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 203 | m_LocalPosition: {x: 0, y: 0, z: -10} 204 | m_LocalScale: {x: 1, y: 1, z: 1} 205 | m_Children: [] 206 | m_Father: {fileID: 0} 207 | m_RootOrder: 0 208 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 209 | --- !u!1 &944133941 210 | GameObject: 211 | m_ObjectHideFlags: 0 212 | m_CorrespondingSourceObject: {fileID: 0} 213 | m_PrefabInstance: {fileID: 0} 214 | m_PrefabAsset: {fileID: 0} 215 | serializedVersion: 6 216 | m_Component: 217 | - component: {fileID: 944133943} 218 | - component: {fileID: 944133942} 219 | m_Layer: 0 220 | m_Name: WebSocket Server 221 | m_TagString: Untagged 222 | m_Icon: {fileID: 0} 223 | m_NavMeshLayer: 0 224 | m_StaticEditorFlags: 0 225 | m_IsActive: 1 226 | --- !u!114 &944133942 227 | MonoBehaviour: 228 | m_ObjectHideFlags: 0 229 | m_CorrespondingSourceObject: {fileID: 0} 230 | m_PrefabInstance: {fileID: 0} 231 | m_PrefabAsset: {fileID: 0} 232 | m_GameObject: {fileID: 944133941} 233 | m_Enabled: 1 234 | m_EditorHideFlags: 0 235 | m_Script: {fileID: 11500000, guid: 5cae6cd5a80444e79b49b1b23e819bb0, type: 3} 236 | m_Name: 237 | m_EditorClassIdentifier: 238 | address: 127.0.0.1 239 | port: 8175 240 | onOpen: 241 | m_PersistentCalls: 242 | m_Calls: 243 | - m_Target: {fileID: 944133942} 244 | m_TargetAssemblyTypeName: MyWebSocketServer, Assembly-CSharp 245 | m_MethodName: onConnectionOpened 246 | m_Mode: 0 247 | m_Arguments: 248 | m_ObjectArgument: {fileID: 0} 249 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 250 | m_IntArgument: 0 251 | m_FloatArgument: 0 252 | m_StringArgument: 253 | m_BoolArgument: 0 254 | m_CallState: 2 255 | onMessage: 256 | m_PersistentCalls: 257 | m_Calls: 258 | - m_Target: {fileID: 944133942} 259 | m_TargetAssemblyTypeName: MyWebSocketServer, Assembly-CSharp 260 | m_MethodName: onMessageReceived 261 | m_Mode: 0 262 | m_Arguments: 263 | m_ObjectArgument: {fileID: 0} 264 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 265 | m_IntArgument: 0 266 | m_FloatArgument: 0 267 | m_StringArgument: 268 | m_BoolArgument: 0 269 | m_CallState: 2 270 | onClose: 271 | m_PersistentCalls: 272 | m_Calls: 273 | - m_Target: {fileID: 944133942} 274 | m_TargetAssemblyTypeName: MyWebSocketServer, Assembly-CSharp 275 | m_MethodName: onConnectionClosed 276 | m_Mode: 0 277 | m_Arguments: 278 | m_ObjectArgument: {fileID: 0} 279 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 280 | m_IntArgument: 0 281 | m_FloatArgument: 0 282 | m_StringArgument: 283 | m_BoolArgument: 0 284 | m_CallState: 2 285 | --- !u!4 &944133943 286 | Transform: 287 | m_ObjectHideFlags: 0 288 | m_CorrespondingSourceObject: {fileID: 0} 289 | m_PrefabInstance: {fileID: 0} 290 | m_PrefabAsset: {fileID: 0} 291 | m_GameObject: {fileID: 944133941} 292 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 293 | m_LocalPosition: {x: 0, y: 0, z: 0} 294 | m_LocalScale: {x: 1, y: 1, z: 1} 295 | m_Children: [] 296 | m_Father: {fileID: 0} 297 | m_RootOrder: 1 298 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 299 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cda990e2423bbf4892e6590ba056729 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/WebSocketServer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90c4b056dd07146b4b6f2a9d235c0be9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/WebSocketServer/WebSocketConnection.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | using System; 4 | using System.Net; 5 | using System.Net.Sockets; 6 | using System.Collections.Concurrent; 7 | // For parsing the client websocket requests 8 | using System.Text; 9 | using System.Text.RegularExpressions; 10 | // For creating a thread 11 | using System.Threading; 12 | 13 | 14 | namespace WebSocketServer { 15 | 16 | public enum WebSocketEventType { 17 | Open, 18 | Close, 19 | Message 20 | } 21 | 22 | public struct WebSocketMessage { 23 | public WebSocketMessage(WebSocketConnection connection, string data) { 24 | this.id = Guid.NewGuid().ToString(); 25 | this.connection = connection; 26 | this.data = data; 27 | } 28 | 29 | public string id { get; } 30 | public WebSocketConnection connection { get; } 31 | public string data { get; } 32 | } 33 | 34 | public struct WebSocketEvent { 35 | public WebSocketEvent(WebSocketConnection connection, WebSocketEventType type, string data) { 36 | this.id = Guid.NewGuid().ToString(); 37 | this.connection = connection; 38 | this.type = type; 39 | this.data = data; 40 | } 41 | 42 | public string id { get; } 43 | public WebSocketEventType type { get; } 44 | public WebSocketConnection connection { get; } 45 | public string data { get; } 46 | } 47 | 48 | public class WebSocketConnection { 49 | 50 | public string id; 51 | private TcpClient client; 52 | private NetworkStream stream; 53 | private WebSocketServer server; 54 | private Thread connectionHandler; 55 | 56 | public WebSocketConnection(TcpClient client, WebSocketServer server) { 57 | this.id = Guid.NewGuid().ToString(); 58 | this.client = client; 59 | this.stream = client.GetStream(); 60 | this.server = server; 61 | } 62 | 63 | public bool Establish() { 64 | // Wait for enough bytes to be available 65 | while (!stream.DataAvailable); 66 | while(client.Available < 3); 67 | // Translate bytes of request to a RequestHeader object 68 | Byte[] bytes = new Byte[client.Available]; 69 | stream.Read(bytes, 0, bytes.Length); 70 | RequestHeader request = new RequestHeader(Encoding.UTF8.GetString(bytes)); 71 | 72 | // Check if the request complies with WebSocket protocol. 73 | if (WebSocketProtocol.CheckConnectionHandshake(request)) { 74 | // If so, initiate the connection by sending a reply according to protocol. 75 | Byte[] response = WebSocketProtocol.CreateHandshakeReply(request); 76 | stream.Write(response, 0, response.Length); 77 | 78 | Debug.Log("WebSocket client connected."); 79 | 80 | // Start message handling 81 | connectionHandler = new Thread(new ThreadStart(HandleConnection)); 82 | connectionHandler.IsBackground = true; 83 | connectionHandler.Start(); 84 | 85 | // Call the server callback. 86 | WebSocketEvent wsEvent = new WebSocketEvent(this, WebSocketEventType.Open, null); 87 | server.events.Enqueue(wsEvent); 88 | return true; 89 | } else { 90 | return false; 91 | } 92 | } 93 | 94 | private void HandleConnection () { 95 | while (true) { 96 | WebSocketDataFrame dataframe = ReadDataFrame(); 97 | 98 | if (dataframe.fin) { 99 | if ((WebSocketOpCode)dataframe.opcode == WebSocketOpCode.Text) { 100 | // Let the server know of the message. 101 | string data = WebSocketProtocol.DecodeText(dataframe); 102 | WebSocketEvent wsEvent = new WebSocketEvent(this, WebSocketEventType.Message, data); 103 | server.events.Enqueue(wsEvent); 104 | } else if ((WebSocketOpCode)dataframe.opcode == WebSocketOpCode.Close) { 105 | // Handle closing the connection. 106 | Debug.Log("Client closed the connection."); 107 | // Close the connection. 108 | stream.Close(); 109 | client.Close(); 110 | // Call server callback. 111 | WebSocketEvent wsEvent = new WebSocketEvent(this, WebSocketEventType.Close, null); 112 | server.events.Enqueue(wsEvent); 113 | // Jump out of the loop. 114 | break; 115 | } 116 | } else { 117 | Debug.Log("Framentation encoutered."); 118 | } 119 | } 120 | } 121 | 122 | 123 | private WebSocketDataFrame ReadDataFrame() { 124 | const int DataframeHead = 2; // Length of dataframe head 125 | const int ShortPayloadLength = 2; // Length of a short payload length field 126 | const int LongPayloadLength = 8; // Length of a long payload length field 127 | const int Mask = 4; // Length of the payload mask 128 | 129 | // Wait for a dataframe head to be available, then read the data. 130 | while (!stream.DataAvailable && client.Available < DataframeHead); 131 | Byte[] bytes = new Byte[DataframeHead]; 132 | stream.Read(bytes, 0, DataframeHead); 133 | 134 | // Decode the message head, including FIN, OpCode, and initial byte of the payload length. 135 | WebSocketDataFrame dataframe = WebSocketProtocol.CreateDataFrame(); 136 | WebSocketProtocol.ParseDataFrameHead(bytes, ref dataframe); 137 | 138 | // Depending on the dataframe length, read & decode the next bytes for payload length 139 | if (dataframe.length == 126) { 140 | while (client.Available < ShortPayloadLength); // Wait until data is available 141 | Array.Resize(ref bytes, bytes.Length + ShortPayloadLength); 142 | stream.Read(bytes, bytes.Length - ShortPayloadLength, ShortPayloadLength); // Read the next two bytes for length 143 | } else if (dataframe.length == 127) { 144 | while (client.Available < LongPayloadLength); // Wait until data is available 145 | Array.Resize(ref bytes, bytes.Length + LongPayloadLength); 146 | stream.Read(bytes, bytes.Length - LongPayloadLength, LongPayloadLength); // Read the next two bytes for length 147 | } 148 | WebSocketProtocol.ParseDataFrameLength(bytes, ref dataframe); // Parse the length 149 | 150 | if (dataframe.mask) { 151 | while (client.Available < Mask); // Wait until data is available 152 | Array.Resize(ref bytes, bytes.Length + Mask); 153 | stream.Read(bytes, bytes.Length - Mask, Mask); // Read the next four bytes for mask 154 | } 155 | 156 | while (client.Available < dataframe.length); // Wait until data is available 157 | Array.Resize(ref bytes, bytes.Length + dataframe.length); 158 | stream.Read(bytes, bytes.Length - dataframe.length, dataframe.length); // Read the payload 159 | dataframe.data = bytes; 160 | 161 | return dataframe; 162 | } 163 | } 164 | 165 | } -------------------------------------------------------------------------------- /Assets/WebSocketServer/WebSocketConnection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb7ccee6494e64db7bd20c7e8cfd0a78 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/WebSocketServer/WebSocketProtocol.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | // For String 3 | using System; 4 | // For dictionary 5 | using System.Collections.Generic; 6 | // For parsing the client websocket requests 7 | using System.Text; 8 | using System.Text.RegularExpressions; 9 | 10 | namespace WebSocketServer { 11 | 12 | struct WebSocketDataFrame { 13 | public WebSocketDataFrame(bool fin, bool mask, int opcode, int length, int offset, Byte[] data) { 14 | this.fin = fin; 15 | this.mask = mask; 16 | this.opcode = opcode; 17 | this.length = length; 18 | this.offset = offset; 19 | this.data = data; 20 | } 21 | 22 | public bool fin { get; set; } 23 | public bool mask { get; set; } 24 | public int opcode { get; set; } 25 | public int length { get; set; } 26 | public int offset { get; set; } 27 | public byte[] data { get; set; } 28 | } 29 | 30 | class RequestHeader { 31 | 32 | static Regex head = new Regex("^(GET|POST|PUT|DELETE|OPTIONS) (.+) HTTP/([0-9.]+)", RegexOptions.Compiled); 33 | static Regex body = new Regex("([A-Za-z0-9-]+): ?([^\n^\r]+)", RegexOptions.Compiled); 34 | 35 | public string method = ""; 36 | public string uri = ""; 37 | public string version = ""; 38 | public Dictionary headers; 39 | 40 | public RequestHeader(string data) { 41 | headers = new Dictionary(); 42 | 43 | MatchCollection matches = head.Matches(data); 44 | foreach (Match match in matches) { 45 | method = match.Groups[1].Value.Trim(); 46 | uri = match.Groups[2].Value.Trim(); 47 | version = match.Groups[3].Value.Trim(); 48 | } 49 | 50 | matches = body.Matches(data); 51 | foreach (Match match in matches) { 52 | headers.Add(match.Groups[1].Value.Trim(), match.Groups[2].Value.Trim()); 53 | } 54 | } 55 | } 56 | 57 | class WebSocketProtocol { 58 | 59 | public static bool CheckConnectionHandshake(RequestHeader request) { 60 | // The method must be GET. 61 | if (!String.Equals(request.method, "GET")) { 62 | Debug.Log("Request does not begin with GET."); 63 | return false; 64 | } 65 | // TODO: Version must be greater than "1.1". 66 | // Must have a Host. 67 | if (!request.headers.ContainsKey("Host")) { 68 | Debug.Log("Request does not have a Host."); 69 | return false; 70 | } 71 | // Must have a Upgrade: websocket 72 | if (!request.headers.ContainsKey("Upgrade") || !String.Equals(request.headers["Upgrade"], "websocket")) { 73 | Debug.Log("Request does not have Upgrade: websocket."); 74 | return false; 75 | } 76 | 77 | // Must have a Connection: Upgrade 78 | if (!request.headers.ContainsKey("Connection") || request.headers["Connection"].IndexOf("Upgrade") == -1) { 79 | Debug.Log("Request does not have Connection: Upgrade."); 80 | return false; 81 | } 82 | 83 | // Must have a Sec-WebSocket-Key 84 | if (!request.headers.ContainsKey("Sec-WebSocket-Key")) { 85 | Debug.Log("Request does not have Sec-WebSocket-Key"); 86 | return false; 87 | } 88 | 89 | // Must have a Sec-WebSocket-Key 90 | if (!request.headers.ContainsKey("Sec-WebSocket-Key")) { 91 | Debug.Log("Request does not have Sec-WebSocket-Key"); 92 | return false; 93 | } 94 | 95 | // Must have a Sec-WebSocket-Version: 13 96 | if (!request.headers.ContainsKey("Sec-WebSocket-Version") || !String.Equals(request.headers["Sec-WebSocket-Version"], "13")) { 97 | Debug.Log("Request does not have Sec-WebSocket-Version: 13"); 98 | return false; 99 | } 100 | 101 | return true; 102 | } 103 | 104 | public static Byte[] CreateHandshakeReply(RequestHeader request) { 105 | const string eol = "\r\n"; // HTTP/1.1 defines the sequence CR LF as the end-of-line marker 106 | 107 | Byte[] response = Encoding.UTF8.GetBytes("HTTP/1.1 101 Switching Protocols" + eol 108 | + "Connection: Upgrade" + eol 109 | + "Upgrade: websocket" + eol 110 | + "Sec-WebSocket-Accept: " + Convert.ToBase64String( 111 | System.Security.Cryptography.SHA1.Create().ComputeHash( 112 | Encoding.UTF8.GetBytes( 113 | request.headers["Sec-WebSocket-Key"] + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" 114 | ) 115 | ) 116 | ) + eol 117 | + eol); 118 | 119 | return response; 120 | } 121 | 122 | public static WebSocketDataFrame CreateDataFrame() { 123 | return new WebSocketDataFrame(false, false, 0, 0, 0, null); 124 | } 125 | 126 | public static void ParseDataFrameHead(byte[] bytes, ref WebSocketDataFrame dataframe) { 127 | bool fin = (bytes[0] & 0b10000000) != 0, 128 | mask = (bytes[1] & 0b10000000) != 0; // must be true, "All messages from the client to the server have this bit set" 129 | 130 | int opcode = bytes[0] & 0b00001111; 131 | int msglen = bytes[1] & 0b01111111, 132 | offset = 2; 133 | 134 | dataframe.fin = fin; 135 | dataframe.mask = mask; 136 | dataframe.opcode = opcode; 137 | dataframe.length = msglen; 138 | dataframe.offset = offset; 139 | dataframe.data = bytes; 140 | } 141 | 142 | public static void ParseDataFrameLength(byte[] bytes, ref WebSocketDataFrame dataframe) { 143 | if (dataframe.length == 126) { 144 | // was ToUInt16(bytes, offset) but the result is incorrect 145 | dataframe.length = BitConverter.ToUInt16(new byte[] { bytes[3], bytes[2] }, 0); 146 | dataframe.offset = 4; 147 | } else if (dataframe.length == 127) { 148 | dataframe.length = (int) BitConverter.ToUInt64(new byte[] { 149 | bytes[9], bytes[8], bytes[7], bytes[6], 150 | bytes[5], bytes[4], bytes[3], bytes[2] 151 | }, 0); 152 | dataframe.offset = 10; 153 | } 154 | } 155 | 156 | public static string DecodeText(WebSocketDataFrame dataframe) { 157 | if (dataframe.length > 0 && dataframe.mask) { 158 | byte[] decoded = new byte[dataframe.length]; 159 | byte[] masks = new byte[4] { 160 | dataframe.data[dataframe.offset], 161 | dataframe.data[dataframe.offset + 1], 162 | dataframe.data[dataframe.offset + 2], 163 | dataframe.data[dataframe.offset + 3] 164 | }; 165 | int payloadOffset = dataframe.offset + 4; 166 | 167 | for (int i = 0; i < dataframe.length; ++i) { 168 | decoded[i] = (byte)(dataframe.data[payloadOffset + i] ^ masks[i % 4]); 169 | } 170 | 171 | string text = Encoding.UTF8.GetString(decoded); 172 | return text; 173 | } 174 | return ""; 175 | } 176 | 177 | } 178 | 179 | enum WebSocketOpCode { 180 | Continuation = 0x0, 181 | Text = 0x1, 182 | Binary = 0x2, 183 | Close = 0x8, 184 | Ping = 0x9, 185 | Pong = 0xA 186 | } 187 | 188 | } -------------------------------------------------------------------------------- /Assets/WebSocketServer/WebSocketProtocol.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7f4a1fb063a4455d96289977a51d644 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/WebSocketServer/WebSocketServer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | // Networking libs 3 | using System.Net; 4 | using System.Net.Sockets; 5 | // For creating a thread 6 | using System.Threading; 7 | // For List & ConcurrentQueue 8 | using System.Collections.Generic; 9 | using System.Collections.Concurrent; 10 | // Unity & Unity events 11 | using UnityEngine; 12 | using UnityEngine.Events; 13 | 14 | namespace WebSocketServer { 15 | [System.Serializable] 16 | public class WebSocketOpenEvent : UnityEvent {} 17 | 18 | [System.Serializable] 19 | public class WebSocketMessageEvent : UnityEvent {} 20 | 21 | [System.Serializable] 22 | public class WebSocketCloseEvent : UnityEvent {} 23 | 24 | public class WebSocketServer : MonoBehaviour 25 | { 26 | // The tcpListenerThread listens for incoming WebSocket connections, then assigns the client to handler threads; 27 | private TcpListener tcpListener; 28 | private Thread tcpListenerThread; 29 | private List workerThreads; 30 | private TcpClient connectedTcpClient; 31 | 32 | public ConcurrentQueue events; 33 | 34 | public string address; 35 | public int port; 36 | public WebSocketOpenEvent onOpen; 37 | public WebSocketMessageEvent onMessage; 38 | public WebSocketCloseEvent onClose; 39 | 40 | void Awake() { 41 | if (onMessage == null) onMessage = new WebSocketMessageEvent(); 42 | } 43 | 44 | void Start() { 45 | events = new ConcurrentQueue(); 46 | workerThreads = new List(); 47 | 48 | tcpListenerThread = new Thread (new ThreadStart(ListenForTcpConnection)); 49 | tcpListenerThread.IsBackground = true; 50 | tcpListenerThread.Start(); 51 | } 52 | 53 | void Update() { 54 | WebSocketEvent wsEvent; 55 | while (events.TryDequeue(out wsEvent)) { 56 | if (wsEvent.type == WebSocketEventType.Open) { 57 | onOpen.Invoke(wsEvent.connection); 58 | this.OnOpen(wsEvent.connection); 59 | } else if (wsEvent.type == WebSocketEventType.Close) { 60 | onClose.Invoke(wsEvent.connection); 61 | this.OnClose(wsEvent.connection); 62 | } else if (wsEvent.type == WebSocketEventType.Message) { 63 | WebSocketMessage message = new WebSocketMessage(wsEvent.connection, wsEvent.data); 64 | onMessage.Invoke(message); 65 | this.OnMessage(message); 66 | } 67 | } 68 | } 69 | 70 | private void ListenForTcpConnection () { 71 | try { 72 | // Create listener on
:. 73 | tcpListener = new TcpListener(IPAddress.Parse(address), port); 74 | tcpListener.Start(); 75 | Debug.Log("WebSocket server is listening for incoming connections."); 76 | while (true) { 77 | // Accept a new client, then open a stream for reading and writing. 78 | connectedTcpClient = tcpListener.AcceptTcpClient(); 79 | // Create a new connection 80 | WebSocketConnection connection = new WebSocketConnection(connectedTcpClient, this); 81 | // Establish connection 82 | connection.Establish(); 83 | // // Start a new thread to handle the connection. 84 | // Thread worker = new Thread (new ParameterizedThreadStart(HandleConnection)); 85 | // worker.IsBackground = true; 86 | // worker.Start(connection); 87 | // // Add it to the thread list. TODO: delete thread when disconnecting. 88 | // workerThreads.Add(worker); 89 | } 90 | } 91 | catch (SocketException socketException) { 92 | Debug.Log("SocketException " + socketException.ToString()); 93 | } 94 | } 95 | 96 | // private void HandleConnection (object parameter) { 97 | // WebSocketConnection connection = (WebSocketConnection)parameter; 98 | // while (true) { 99 | // string message = ReceiveMessage(connection.client, connection.stream); 100 | // connection.queue.Enqueue(message); 101 | // } 102 | // } 103 | 104 | // private string ReceiveMessage(TcpClient client, NetworkStream stream) { 105 | // // Wait for data to be available, then read the data. 106 | // while (!stream.DataAvailable); 107 | // Byte[] bytes = new Byte[client.Available]; 108 | // stream.Read(bytes, 0, bytes.Length); 109 | 110 | // return WebSocketProtocol.DecodeMessage(bytes); 111 | // } 112 | 113 | public virtual void OnOpen(WebSocketConnection connection) {} 114 | 115 | public virtual void OnMessage(WebSocketMessage message) {} 116 | 117 | public virtual void OnClose(WebSocketConnection connection) {} 118 | 119 | public virtual void OnError(WebSocketConnection connection) {} 120 | 121 | 122 | // private void SendMessage() { 123 | // if (connectedTcpClient == null) { 124 | // return; 125 | // } 126 | 127 | // try { 128 | // // Get a stream object for writing. 129 | // NetworkStream stream = connectedTcpClient.GetStream(); 130 | // if (stream.CanWrite) { 131 | // string serverMessage = "This is a message from your server."; 132 | // // Convert string message to byte array. 133 | // byte[] serverMessageAsByteArray = Encoding.ASCII.GetBytes(serverMessage); 134 | // // Write byte array to socketConnection stream. 135 | // stream.Write(serverMessageAsByteArray, 0, serverMessageAsByteArray.Length); 136 | // Debug.Log("Server sent his message - should be received by client"); 137 | // } 138 | // } 139 | // catch (SocketException socketException) { 140 | // Debug.Log("Socket exception: " + socketException); 141 | // } 142 | // } 143 | } 144 | } 145 | 146 | -------------------------------------------------------------------------------- /Assets/WebSocketServer/WebSocketServer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ac217db4dad5436d9927ea08182cd9b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Shauna Zhang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Logs/ApiUpdaterCheck.txt: -------------------------------------------------------------------------------- 1 | [api-updater (non-obsolete-error-filter)] 6/13/2021 11:47:39 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 2 | [api-updater (non-obsolete-error-filter)] 3 | ---------------------------------- 4 | jit/startup time : 431.209ms 5 | moved types parse time: 58ms 6 | candidates parse time : 1ms 7 | C# parse time : 292ms 8 | candidates check time : 38ms 9 | console write time : 1ms 10 | 11 | [api-updater (non-obsolete-error-filter)] 6/13/2021 11:58:41 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 12 | [api-updater (non-obsolete-error-filter)] 13 | ---------------------------------- 14 | jit/startup time : 119.794ms 15 | moved types parse time: 53ms 16 | candidates parse time : 1ms 17 | C# parse time : 254ms 18 | candidates check time : 40ms 19 | console write time : 0ms 20 | 21 | [api-updater (non-obsolete-error-filter)] 6/14/2021 12:19:46 AM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 22 | [api-updater (non-obsolete-error-filter)] 23 | ---------------------------------- 24 | jit/startup time : 115.743ms 25 | moved types parse time: 51ms 26 | candidates parse time : 1ms 27 | C# parse time : 260ms 28 | candidates check time : 38ms 29 | console write time : 0ms 30 | 31 | [api-updater (non-obsolete-error-filter)] 6/14/2021 12:21:38 AM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 32 | [api-updater (non-obsolete-error-filter)] 33 | ---------------------------------- 34 | jit/startup time : 59.509ms 35 | moved types parse time: 47ms 36 | candidates parse time : 1ms 37 | C# parse time : 244ms 38 | candidates check time : 40ms 39 | console write time : 0ms 40 | 41 | [api-updater (non-obsolete-error-filter)] 6/14/2021 12:23:30 AM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 42 | [api-updater (non-obsolete-error-filter)] 43 | ---------------------------------- 44 | jit/startup time : 113.492ms 45 | moved types parse time: 58ms 46 | candidates parse time : 1ms 47 | C# parse time : 269ms 48 | candidates check time : 38ms 49 | console write time : 0ms 50 | 51 | [api-updater (non-obsolete-error-filter)] 6/14/2021 4:26:34 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 52 | [api-updater (non-obsolete-error-filter)] 53 | ---------------------------------- 54 | jit/startup time : 422.141ms 55 | moved types parse time: 59ms 56 | candidates parse time : 1ms 57 | C# parse time : 289ms 58 | candidates check time : 52ms 59 | console write time : 1ms 60 | 61 | [api-updater (non-obsolete-error-filter)] 6/14/2021 4:58:28 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 62 | [api-updater (non-obsolete-error-filter)] 63 | ---------------------------------- 64 | jit/startup time : 120.863ms 65 | moved types parse time: 54ms 66 | candidates parse time : 1ms 67 | C# parse time : 280ms 68 | candidates check time : 53ms 69 | console write time : 1ms 70 | 71 | [api-updater (non-obsolete-error-filter)] 6/14/2021 4:58:52 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 72 | [api-updater (non-obsolete-error-filter)] 73 | ---------------------------------- 74 | jit/startup time : 113.606ms 75 | moved types parse time: 52ms 76 | candidates parse time : 1ms 77 | C# parse time : 285ms 78 | candidates check time : 52ms 79 | console write time : 0ms 80 | 81 | [api-updater (non-obsolete-error-filter)] 6/14/2021 4:59:05 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 82 | [api-updater (non-obsolete-error-filter)] 83 | ---------------------------------- 84 | jit/startup time : 57.943ms 85 | moved types parse time: 46ms 86 | candidates parse time : 1ms 87 | C# parse time : 222ms 88 | candidates check time : 44ms 89 | console write time : 0ms 90 | 91 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:02:05 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 92 | [api-updater (non-obsolete-error-filter)] 93 | ---------------------------------- 94 | jit/startup time : 129.724ms 95 | moved types parse time: 53ms 96 | candidates parse time : 1ms 97 | C# parse time : 296ms 98 | candidates check time : 50ms 99 | console write time : 0ms 100 | 101 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:17:24 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 102 | [api-updater (non-obsolete-error-filter)] 103 | ---------------------------------- 104 | jit/startup time : 107.62ms 105 | moved types parse time: 51ms 106 | candidates parse time : 1ms 107 | C# parse time : 327ms 108 | candidates check time : 48ms 109 | console write time : 1ms 110 | 111 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:18:17 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 112 | [api-updater (non-obsolete-error-filter)] 113 | ---------------------------------- 114 | jit/startup time : 48.328ms 115 | moved types parse time: 47ms 116 | candidates parse time : 1ms 117 | C# parse time : 239ms 118 | candidates check time : 50ms 119 | console write time : 0ms 120 | 121 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:18:35 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 122 | [api-updater (non-obsolete-error-filter)] 123 | ---------------------------------- 124 | jit/startup time : 47.651ms 125 | moved types parse time: 48ms 126 | candidates parse time : 1ms 127 | C# parse time : 233ms 128 | candidates check time : 42ms 129 | console write time : 0ms 130 | 131 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:19:39 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 132 | [api-updater (non-obsolete-error-filter)] 133 | ---------------------------------- 134 | jit/startup time : 104.064ms 135 | moved types parse time: 50ms 136 | candidates parse time : 1ms 137 | C# parse time : 263ms 138 | candidates check time : 46ms 139 | console write time : 1ms 140 | 141 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:38:32 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 142 | [api-updater (non-obsolete-error-filter)] 143 | ---------------------------------- 144 | jit/startup time : 121.532ms 145 | moved types parse time: 53ms 146 | candidates parse time : 1ms 147 | C# parse time : 234ms 148 | candidates check time : 27ms 149 | console write time : 1ms 150 | 151 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:45:24 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 152 | [api-updater (non-obsolete-error-filter)] 153 | ---------------------------------- 154 | jit/startup time : 108.804ms 155 | moved types parse time: 55ms 156 | candidates parse time : 1ms 157 | C# parse time : 264ms 158 | candidates check time : 34ms 159 | console write time : 0ms 160 | 161 | [api-updater (non-obsolete-error-filter)] 6/14/2021 5:45:42 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 162 | [api-updater (non-obsolete-error-filter)] 163 | ---------------------------------- 164 | jit/startup time : 51.548ms 165 | moved types parse time: 59ms 166 | candidates parse time : 1ms 167 | C# parse time : 251ms 168 | candidates check time : 37ms 169 | console write time : 0ms 170 | 171 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:05:21 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 172 | [api-updater (non-obsolete-error-filter)] 173 | ---------------------------------- 174 | jit/startup time : 63.113ms 175 | moved types parse time: 47ms 176 | candidates parse time : 1ms 177 | C# parse time : 227ms 178 | candidates check time : 31ms 179 | console write time : 0ms 180 | 181 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:05:27 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 182 | [api-updater (non-obsolete-error-filter)] 183 | ---------------------------------- 184 | jit/startup time : 47.497ms 185 | moved types parse time: 46ms 186 | candidates parse time : 1ms 187 | C# parse time : 211ms 188 | candidates check time : 31ms 189 | console write time : 0ms 190 | 191 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:05:50 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 192 | [api-updater (non-obsolete-error-filter)] 193 | ---------------------------------- 194 | jit/startup time : 48.64ms 195 | moved types parse time: 48ms 196 | candidates parse time : 1ms 197 | C# parse time : 247ms 198 | candidates check time : 35ms 199 | console write time : 0ms 200 | 201 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:15:44 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 202 | [api-updater (non-obsolete-error-filter)] 203 | ---------------------------------- 204 | jit/startup time : 103.824ms 205 | moved types parse time: 48ms 206 | candidates parse time : 1ms 207 | C# parse time : 253ms 208 | candidates check time : 64ms 209 | console write time : 0ms 210 | 211 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:18:40 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 212 | [api-updater (non-obsolete-error-filter)] 213 | ---------------------------------- 214 | jit/startup time : 47.007ms 215 | moved types parse time: 45ms 216 | candidates parse time : 1ms 217 | C# parse time : 221ms 218 | candidates check time : 56ms 219 | console write time : 0ms 220 | 221 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:21:49 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 222 | [api-updater (non-obsolete-error-filter)] 223 | ---------------------------------- 224 | jit/startup time : 123.176ms 225 | moved types parse time: 50ms 226 | candidates parse time : 1ms 227 | C# parse time : 239ms 228 | candidates check time : 62ms 229 | console write time : 0ms 230 | 231 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:22:35 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 232 | [api-updater (non-obsolete-error-filter)] 233 | ---------------------------------- 234 | jit/startup time : 49.268ms 235 | moved types parse time: 51ms 236 | candidates parse time : 1ms 237 | C# parse time : 242ms 238 | candidates check time : 71ms 239 | console write time : 0ms 240 | 241 | [api-updater (non-obsolete-error-filter)] 6/14/2021 6:33:13 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 242 | [api-updater (non-obsolete-error-filter)] 243 | ---------------------------------- 244 | jit/startup time : 118.538ms 245 | moved types parse time: 54ms 246 | candidates parse time : 1ms 247 | C# parse time : 257ms 248 | candidates check time : 34ms 249 | console write time : 1ms 250 | 251 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:14:52 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 252 | [api-updater (non-obsolete-error-filter)] 253 | ---------------------------------- 254 | jit/startup time : 420.634ms 255 | moved types parse time: 52ms 256 | candidates parse time : 1ms 257 | C# parse time : 257ms 258 | candidates check time : 36ms 259 | console write time : 0ms 260 | 261 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:15:10 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 262 | [api-updater (non-obsolete-error-filter)] 263 | ---------------------------------- 264 | jit/startup time : 47.92ms 265 | moved types parse time: 48ms 266 | candidates parse time : 1ms 267 | C# parse time : 199ms 268 | candidates check time : 32ms 269 | console write time : 0ms 270 | 271 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:17:47 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 272 | [api-updater (non-obsolete-error-filter)] 273 | ---------------------------------- 274 | jit/startup time : 109.476ms 275 | moved types parse time: 52ms 276 | candidates parse time : 1ms 277 | C# parse time : 230ms 278 | candidates check time : 29ms 279 | console write time : 0ms 280 | 281 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:22:58 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 282 | [api-updater (non-obsolete-error-filter)] 283 | ---------------------------------- 284 | jit/startup time : 63.406ms 285 | moved types parse time: 47ms 286 | candidates parse time : 1ms 287 | C# parse time : 217ms 288 | candidates check time : 52ms 289 | console write time : 0ms 290 | 291 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:23:12 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 292 | [api-updater (non-obsolete-error-filter)] 293 | ---------------------------------- 294 | jit/startup time : 62.028ms 295 | moved types parse time: 47ms 296 | candidates parse time : 1ms 297 | C# parse time : 210ms 298 | candidates check time : 45ms 299 | console write time : 0ms 300 | 301 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:23:25 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 302 | [api-updater (non-obsolete-error-filter)] 303 | ---------------------------------- 304 | jit/startup time : 88.948ms 305 | moved types parse time: 54ms 306 | candidates parse time : 1ms 307 | C# parse time : 249ms 308 | candidates check time : 42ms 309 | console write time : 0ms 310 | 311 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:24:00 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 312 | [api-updater (non-obsolete-error-filter)] 313 | ---------------------------------- 314 | jit/startup time : 51.341ms 315 | moved types parse time: 49ms 316 | candidates parse time : 1ms 317 | C# parse time : 226ms 318 | candidates check time : 42ms 319 | console write time : 0ms 320 | 321 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:24:26 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 322 | [api-updater (non-obsolete-error-filter)] 323 | ---------------------------------- 324 | jit/startup time : 51.101ms 325 | moved types parse time: 52ms 326 | candidates parse time : 1ms 327 | C# parse time : 216ms 328 | candidates check time : 35ms 329 | console write time : 0ms 330 | 331 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:24:57 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 332 | [api-updater (non-obsolete-error-filter)] 333 | ---------------------------------- 334 | jit/startup time : 51.97ms 335 | moved types parse time: 46ms 336 | candidates parse time : 1ms 337 | C# parse time : 217ms 338 | candidates check time : 33ms 339 | console write time : 0ms 340 | 341 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:25:37 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 342 | [api-updater (non-obsolete-error-filter)] 343 | ---------------------------------- 344 | jit/startup time : 47.884ms 345 | moved types parse time: 44ms 346 | candidates parse time : 1ms 347 | C# parse time : 213ms 348 | candidates check time : 42ms 349 | console write time : 0ms 350 | 351 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:33:55 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 352 | [api-updater (non-obsolete-error-filter)] 353 | ---------------------------------- 354 | jit/startup time : 126.06ms 355 | moved types parse time: 57ms 356 | candidates parse time : 1ms 357 | C# parse time : 277ms 358 | candidates check time : 43ms 359 | console write time : 0ms 360 | 361 | [api-updater (non-obsolete-error-filter)] 6/14/2021 8:38:14 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 362 | [api-updater (non-obsolete-error-filter)] 363 | ---------------------------------- 364 | jit/startup time : 163.288ms 365 | moved types parse time: 74ms 366 | candidates parse time : 1ms 367 | C# parse time : 325ms 368 | candidates check time : 40ms 369 | console write time : 1ms 370 | 371 | [api-updater (non-obsolete-error-filter)] 6/14/2021 9:21:47 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 372 | [api-updater (non-obsolete-error-filter)] 373 | ---------------------------------- 374 | jit/startup time : 614.361ms 375 | moved types parse time: 84ms 376 | candidates parse time : 2ms 377 | C# parse time : 425ms 378 | candidates check time : 65ms 379 | console write time : 0ms 380 | 381 | [api-updater (non-obsolete-error-filter)] 6/14/2021 9:24:27 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 382 | [api-updater (non-obsolete-error-filter)] 383 | ---------------------------------- 384 | jit/startup time : 126.353ms 385 | moved types parse time: 55ms 386 | candidates parse time : 1ms 387 | C# parse time : 267ms 388 | candidates check time : 36ms 389 | console write time : 0ms 390 | 391 | [api-updater (non-obsolete-error-filter)] 6/14/2021 9:24:47 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 392 | [api-updater (non-obsolete-error-filter)] 393 | ---------------------------------- 394 | jit/startup time : 63.738ms 395 | moved types parse time: 59ms 396 | candidates parse time : 1ms 397 | C# parse time : 270ms 398 | candidates check time : 44ms 399 | console write time : 0ms 400 | 401 | [api-updater (non-obsolete-error-filter)] 6/14/2021 9:25:01 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 402 | [api-updater (non-obsolete-error-filter)] 403 | ---------------------------------- 404 | jit/startup time : 75.153ms 405 | moved types parse time: 59ms 406 | candidates parse time : 1ms 407 | C# parse time : 294ms 408 | candidates check time : 53ms 409 | console write time : 0ms 410 | 411 | [api-updater (non-obsolete-error-filter)] 6/14/2021 9:57:00 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 412 | [api-updater (non-obsolete-error-filter)] 413 | ---------------------------------- 414 | jit/startup time : 120.145ms 415 | moved types parse time: 54ms 416 | candidates parse time : 1ms 417 | C# parse time : 276ms 418 | candidates check time : 44ms 419 | console write time : 0ms 420 | 421 | [api-updater (non-obsolete-error-filter)] 6/14/2021 10:18:09 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 422 | [api-updater (non-obsolete-error-filter)] 423 | ---------------------------------- 424 | jit/startup time : 134.036ms 425 | moved types parse time: 53ms 426 | candidates parse time : 1ms 427 | C# parse time : 267ms 428 | candidates check time : 62ms 429 | console write time : 0ms 430 | 431 | [api-updater (non-obsolete-error-filter)] 6/14/2021 10:18:37 PM : Starting /Applications/Unity/2020.3.5f1c1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 432 | [api-updater (non-obsolete-error-filter)] 433 | ---------------------------------- 434 | jit/startup time : 49.536ms 435 | moved types parse time: 46ms 436 | candidates parse time : 1ms 437 | C# parse time : 221ms 438 | candidates check time : 42ms 439 | console write time : 0ms 440 | 441 | [api-updater (non-obsolete-error-filter)] 4/30/2022 8:20:48 PM : Starting /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 442 | [api-updater (non-obsolete-error-filter)] 443 | ---------------------------------- 444 | jit/startup time : 1426.16ms 445 | moved types parse time: 148ms 446 | candidates parse time : 5ms 447 | C# parse time : 472ms 448 | candidates check time : 157ms 449 | console write time : 1ms 450 | 451 | [api-updater (non-obsolete-error-filter)] 4/30/2022 8:25:44 PM : Starting /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 452 | [api-updater (non-obsolete-error-filter)] 453 | ---------------------------------- 454 | jit/startup time : 155.097ms 455 | moved types parse time: 156ms 456 | candidates parse time : 6ms 457 | C# parse time : 540ms 458 | candidates check time : 131ms 459 | console write time : 1ms 460 | 461 | [api-updater (non-obsolete-error-filter)] 4/30/2022 8:26:40 PM : Starting /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe 462 | [api-updater (non-obsolete-error-filter)] 463 | ---------------------------------- 464 | jit/startup time : 157.439ms 465 | moved types parse time: 160ms 466 | candidates parse time : 7ms 467 | C# parse time : 511ms 468 | candidates check time : 120ms 469 | console write time : 1ms 470 | 471 | -------------------------------------------------------------------------------- /Logs/AssetImportWorker0-prev.log: -------------------------------------------------------------------------------- 1 | Using pre-set license 2 | 3 | COMMAND LINE ARGUMENTS: 4 | /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/MacOS/Unity 5 | -adb2 6 | -batchMode 7 | -noUpm 8 | -name 9 | AssetImportWorker0 10 | -projectPath 11 | /Users/shauna/Development/unity-websocket-server 12 | -logFile 13 | Logs/AssetImportWorker0.log 14 | -srvPort 15 | 64450 16 | Successfully changed project path to: /Users/shauna/Development/unity-websocket-server 17 | /Users/shauna/Development/unity-websocket-server 18 | Using Asset Import Pipeline V2. 19 | Refreshing native plugins compatible for Editor in 34.43 ms, found 2 plugins. 20 | Preloading 0 native plugins for Editor in 0.00 ms. 21 | Initialize engine version: 2020.3.16f1 (049d6eca3c44) 22 | [Subsystems] Discovering subsystems at path /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Resources/UnitySubsystems 23 | [Subsystems] Discovering subsystems at path /Users/shauna/Development/unity-websocket-server/Assets 24 | GfxDevice: creating device client; threaded=0 25 | 2021-08-15 22:34:49.379 Unity[52763:4263119] (null) preferred device: Apple M1 (high power) 26 | 2021-08-15 22:34:49.379 Unity[52763:4263119] Metal devices available: 1 27 | 2021-08-15 22:34:49.379 Unity[52763:4263119] 0: Apple M1 (high power) 28 | 2021-08-15 22:34:49.379 Unity[52763:4263119] Using device Apple M1 (high power) 29 | Initializing Metal device caps: Apple M1 30 | Initialize mono 31 | Mono path[0] = '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Managed' 32 | Mono path[1] = '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unityjit' 33 | Mono config path = '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/MonoBleedingEdge/etc' 34 | Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56763 35 | Begin MonoManager ReloadAssembly 36 | Registering precompiled unity dll's ... 37 | Register platform support module: /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll 38 | Registered in 0.001707 seconds. 39 | Native extension for OSXStandalone target not found 40 | Refreshing native plugins compatible for Editor in 35.07 ms, found 2 plugins. 41 | Preloading 0 native plugins for Editor in 0.00 ms. 42 | Mono: successfully reloaded assembly 43 | - Completed reload, in 1.796 seconds 44 | Domain Reload Profiling: 45 | ReloadAssembly (1796ms) 46 | BeginReloadAssembly (96ms) 47 | ExecutionOrderSort (0ms) 48 | DisableScriptedObjects (0ms) 49 | BackupInstance (0ms) 50 | ReleaseScriptingObjects (0ms) 51 | CreateAndSetChildDomain (3ms) 52 | EndReloadAssembly (930ms) 53 | LoadAssemblies (93ms) 54 | RebuildTransferFunctionScriptingTraits (0ms) 55 | SetupTypeCache (188ms) 56 | ReleaseScriptCaches (0ms) 57 | RebuildScriptCaches (45ms) 58 | SetupLoadedEditorAssemblies (533ms) 59 | LogAssemblyErrors (0ms) 60 | InitializePlatformSupportModulesInManaged (10ms) 61 | SetLoadedEditorAssemblies (0ms) 62 | RefreshPlugins (35ms) 63 | BeforeProcessingInitializeOnLoad (25ms) 64 | ProcessInitializeOnLoadAttributes (337ms) 65 | ProcessInitializeOnLoadMethodAttributes (125ms) 66 | AfterProcessingInitializeOnLoad (0ms) 67 | EditorAssembliesLoaded (1ms) 68 | ExecutionOrderSort2 (0ms) 69 | AwakeInstancesAfterBackupRestoration (0ms) 70 | Platform modules already initialized, skipping 71 | Registering precompiled user dll's ... 72 | Registered in 0.001375 seconds. 73 | Begin MonoManager ReloadAssembly 74 | Native extension for OSXStandalone target not found 75 | Refreshing native plugins compatible for Editor in 33.14 ms, found 2 plugins. 76 | Preloading 0 native plugins for Editor in 0.00 ms. 77 | Mono: successfully reloaded assembly 78 | - Completed reload, in 1.948 seconds 79 | Domain Reload Profiling: 80 | ReloadAssembly (1950ms) 81 | BeginReloadAssembly (275ms) 82 | ExecutionOrderSort (0ms) 83 | DisableScriptedObjects (32ms) 84 | BackupInstance (0ms) 85 | ReleaseScriptingObjects (0ms) 86 | CreateAndSetChildDomain (42ms) 87 | EndReloadAssembly (1570ms) 88 | LoadAssemblies (205ms) 89 | RebuildTransferFunctionScriptingTraits (0ms) 90 | SetupTypeCache (262ms) 91 | ReleaseScriptCaches (1ms) 92 | RebuildScriptCaches (60ms) 93 | SetupLoadedEditorAssemblies (681ms) 94 | LogAssemblyErrors (0ms) 95 | InitializePlatformSupportModulesInManaged (11ms) 96 | SetLoadedEditorAssemblies (1ms) 97 | RefreshPlugins (33ms) 98 | BeforeProcessingInitializeOnLoad (123ms) 99 | ProcessInitializeOnLoadAttributes (467ms) 100 | ProcessInitializeOnLoadMethodAttributes (44ms) 101 | AfterProcessingInitializeOnLoad (1ms) 102 | EditorAssembliesLoaded (0ms) 103 | ExecutionOrderSort2 (0ms) 104 | AwakeInstancesAfterBackupRestoration (34ms) 105 | Platform modules already initialized, skipping 106 | ======================================================================== 107 | Worker process is ready to serve import requests 108 | Launching external process: /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Tools/UnityShaderCompiler 109 | Launched and connected shader compiler UnityShaderCompiler after 0.02 seconds 110 | Refreshing native plugins compatible for Editor in 0.28 ms, found 2 plugins. 111 | Preloading 0 native plugins for Editor in 0.00 ms. 112 | Unloading 1812 Unused Serialized files (Serialized files now loaded: 0) 113 | System memory in use before: 143.1 MB. 114 | System memory in use after: 143.2 MB. 115 | 116 | Unloading 19 unused Assets to reduce memory usage. Loaded Objects now: 2259. 117 | Total: 2.525916 ms (FindLiveObjects: 0.106416 ms CreateObjectMapping: 0.033333 ms MarkObjects: 2.320000 ms DeleteObjects: 0.065166 ms) 118 | 119 | AssetImportParameters requested are different than current active one (requested -> active): 120 | custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 121 | custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 122 | custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 123 | custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 124 | custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 125 | custom:framework-osx-AVFoundation: e770b220cccbd017edd2c1fefb359320 -> 126 | custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 127 | custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 128 | custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 129 | ======================================================================== 130 | Received Import Request. 131 | path: Assets/Scenes 132 | artifactKey: Guid(4ebafb77ac26644d5add696267d4e150) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 133 | Start importing Assets/Scenes using Guid(4ebafb77ac26644d5add696267d4e150) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '013970fbeeec4c5f82a9d217f78df42d') in 0.006407 seconds 134 | Import took 0.008688 seconds . 135 | 136 | ======================================================================== 137 | Received Import Request. 138 | Time since last request: 0.000201 seconds. 139 | path: Assets/WebSocketServer 140 | artifactKey: Guid(90c4b056dd07146b4b6f2a9d235c0be9) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 141 | Start importing Assets/WebSocketServer using Guid(90c4b056dd07146b4b6f2a9d235c0be9) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '5a4bf23d32ebbdf1d541ecdb2246dc1e') in 0.000521 seconds 142 | Import took 0.002191 seconds . 143 | 144 | ======================================================================== 145 | Received Import Request. 146 | Time since last request: 0.000199 seconds. 147 | path: Assets/MyWebSocketServer.cs 148 | artifactKey: Guid(5cae6cd5a80444e79b49b1b23e819bb0) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 149 | Start importing Assets/MyWebSocketServer.cs using Guid(5cae6cd5a80444e79b49b1b23e819bb0) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '57df8f3a142cd65a9e76f59e79e7808c') in 0.243505 seconds 150 | Import took 0.245412 seconds . 151 | 152 | ======================================================================== 153 | Received Import Request. 154 | Time since last request: 0.291893 seconds. 155 | path: Assets/WebSocketServer/WebSocketProtocol.cs 156 | artifactKey: Guid(d7f4a1fb063a4455d96289977a51d644) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 157 | Start importing Assets/WebSocketServer/WebSocketProtocol.cs using Guid(d7f4a1fb063a4455d96289977a51d644) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'ab63790c083e6feb7474c4e01128b2b5') in 0.019235 seconds 158 | Import took 0.022110 seconds . 159 | 160 | ======================================================================== 161 | Received Import Request. 162 | Time since last request: 1.747776 seconds. 163 | path: Assets/WebSocketServer/WebSocketConnection.cs 164 | artifactKey: Guid(cb7ccee6494e64db7bd20c7e8cfd0a78) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 165 | Start importing Assets/WebSocketServer/WebSocketConnection.cs using Guid(cb7ccee6494e64db7bd20c7e8cfd0a78) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'b660b008ccdf094cf910aee1af90f4d1') in 0.002977 seconds 166 | Import took 0.006586 seconds . 167 | 168 | ======================================================================== 169 | Received Import Request. 170 | Time since last request: 0.008094 seconds. 171 | path: Assets/WebSocketServer/WebSocketConnection.cs 172 | artifactKey: Guid(cb7ccee6494e64db7bd20c7e8cfd0a78) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 173 | Start importing Assets/WebSocketServer/WebSocketConnection.cs using Guid(cb7ccee6494e64db7bd20c7e8cfd0a78) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'b660b008ccdf094cf910aee1af90f4d1') in 0.001313 seconds 174 | Import took 0.004982 seconds . 175 | 176 | ======================================================================== 177 | Received Import Request. 178 | Time since last request: 1.690474 seconds. 179 | path: Assets/WebSocketServer/WebSocketServer.cs 180 | artifactKey: Guid(4ac217db4dad5436d9927ea08182cd9b) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 181 | Start importing Assets/WebSocketServer/WebSocketServer.cs using Guid(4ac217db4dad5436d9927ea08182cd9b) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '0f5b97c05c726228b2a8a08c59bee686') in 0.001270 seconds 182 | Import took 0.004764 seconds . 183 | 184 | ======================================================================== 185 | Received Import Request. 186 | Time since last request: 0.001236 seconds. 187 | path: Assets/WebSocketServer/WebSocketServer.cs 188 | artifactKey: Guid(4ac217db4dad5436d9927ea08182cd9b) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 189 | Start importing Assets/WebSocketServer/WebSocketServer.cs using Guid(4ac217db4dad5436d9927ea08182cd9b) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '0f5b97c05c726228b2a8a08c59bee686') in 0.001153 seconds 190 | Import took 0.004367 seconds . 191 | 192 | ======================================================================== 193 | Received Import Request. 194 | Time since last request: 12.726187 seconds. 195 | path: Assets 196 | artifactKey: Guid(00000000000000001000000000000000) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 197 | Start importing Assets using Guid(00000000000000001000000000000000) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '42d402b061de3733987d63b9cc3b64de') in 0.000678 seconds 198 | Import took 0.003462 seconds . 199 | 200 | -------------------------------------------------------------------------------- /Logs/AssetImportWorker0.log: -------------------------------------------------------------------------------- 1 | Using pre-set license 2 | 3 | COMMAND LINE ARGUMENTS: 4 | /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/MacOS/Unity 5 | -adb2 6 | -batchMode 7 | -noUpm 8 | -name 9 | AssetImportWorker0 10 | -projectPath 11 | /Users/shauna/Development/unity-websocket-server 12 | -logFile 13 | Logs/AssetImportWorker0.log 14 | -srvPort 15 | 60169 16 | Successfully changed project path to: /Users/shauna/Development/unity-websocket-server 17 | /Users/shauna/Development/unity-websocket-server 18 | Using Asset Import Pipeline V2. 19 | Refreshing native plugins compatible for Editor in 39.55 ms, found 2 plugins. 20 | Preloading 0 native plugins for Editor in 0.00 ms. 21 | Initialize engine version: 2020.3.16f1 (049d6eca3c44) 22 | [Subsystems] Discovering subsystems at path /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Resources/UnitySubsystems 23 | [Subsystems] Discovering subsystems at path /Users/shauna/Development/unity-websocket-server/Assets 24 | GfxDevice: creating device client; threaded=0 25 | 2022-04-30 20:27:43.648 Unity[77166:9161818] (null) preferred device: Apple M1 (high power) 26 | 2022-04-30 20:27:43.648 Unity[77166:9161818] Metal devices available: 1 27 | 2022-04-30 20:27:43.648 Unity[77166:9161818] 0: Apple M1 (high power) 28 | 2022-04-30 20:27:43.648 Unity[77166:9161818] Using device Apple M1 (high power) 29 | Initializing Metal device caps: Apple M1 30 | Initialize mono 31 | Mono path[0] = '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Managed' 32 | Mono path[1] = '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unityjit' 33 | Mono config path = '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/MonoBleedingEdge/etc' 34 | Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56166 35 | Begin MonoManager ReloadAssembly 36 | Registering precompiled unity dll's ... 37 | Register platform support module: /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll 38 | Registered in 0.001725 seconds. 39 | Native extension for OSXStandalone target not found 40 | Refreshing native plugins compatible for Editor in 41.39 ms, found 2 plugins. 41 | Preloading 0 native plugins for Editor in 0.00 ms. 42 | Mono: successfully reloaded assembly 43 | - Completed reload, in 1.790 seconds 44 | Domain Reload Profiling: 45 | ReloadAssembly (1790ms) 46 | BeginReloadAssembly (99ms) 47 | ExecutionOrderSort (0ms) 48 | DisableScriptedObjects (0ms) 49 | BackupInstance (0ms) 50 | ReleaseScriptingObjects (0ms) 51 | CreateAndSetChildDomain (3ms) 52 | EndReloadAssembly (935ms) 53 | LoadAssemblies (97ms) 54 | RebuildTransferFunctionScriptingTraits (0ms) 55 | SetupTypeCache (209ms) 56 | ReleaseScriptCaches (0ms) 57 | RebuildScriptCaches (51ms) 58 | SetupLoadedEditorAssemblies (514ms) 59 | LogAssemblyErrors (0ms) 60 | InitializePlatformSupportModulesInManaged (11ms) 61 | SetLoadedEditorAssemblies (0ms) 62 | RefreshPlugins (41ms) 63 | BeforeProcessingInitializeOnLoad (26ms) 64 | ProcessInitializeOnLoadAttributes (312ms) 65 | ProcessInitializeOnLoadMethodAttributes (121ms) 66 | AfterProcessingInitializeOnLoad (0ms) 67 | EditorAssembliesLoaded (1ms) 68 | ExecutionOrderSort2 (0ms) 69 | AwakeInstancesAfterBackupRestoration (0ms) 70 | Platform modules already initialized, skipping 71 | Registering precompiled user dll's ... 72 | Registered in 0.000990 seconds. 73 | Begin MonoManager ReloadAssembly 74 | Native extension for OSXStandalone target not found 75 | Refreshing native plugins compatible for Editor in 40.40 ms, found 2 plugins. 76 | Preloading 0 native plugins for Editor in 0.00 ms. 77 | Mono: successfully reloaded assembly 78 | - Completed reload, in 1.994 seconds 79 | Domain Reload Profiling: 80 | ReloadAssembly (1997ms) 81 | BeginReloadAssembly (287ms) 82 | ExecutionOrderSort (0ms) 83 | DisableScriptedObjects (33ms) 84 | BackupInstance (0ms) 85 | ReleaseScriptingObjects (0ms) 86 | CreateAndSetChildDomain (35ms) 87 | EndReloadAssembly (1604ms) 88 | LoadAssemblies (215ms) 89 | RebuildTransferFunctionScriptingTraits (0ms) 90 | SetupTypeCache (294ms) 91 | ReleaseScriptCaches (1ms) 92 | RebuildScriptCaches (65ms) 93 | SetupLoadedEditorAssemblies (696ms) 94 | LogAssemblyErrors (0ms) 95 | InitializePlatformSupportModulesInManaged (11ms) 96 | SetLoadedEditorAssemblies (1ms) 97 | RefreshPlugins (40ms) 98 | BeforeProcessingInitializeOnLoad (126ms) 99 | ProcessInitializeOnLoadAttributes (473ms) 100 | ProcessInitializeOnLoadMethodAttributes (44ms) 101 | AfterProcessingInitializeOnLoad (1ms) 102 | EditorAssembliesLoaded (0ms) 103 | ExecutionOrderSort2 (0ms) 104 | AwakeInstancesAfterBackupRestoration (35ms) 105 | Platform modules already initialized, skipping 106 | ======================================================================== 107 | Worker process is ready to serve import requests 108 | Launching external process: /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Tools/UnityShaderCompiler 109 | Launched and connected shader compiler UnityShaderCompiler after 0.03 seconds 110 | Refreshing native plugins compatible for Editor in 0.30 ms, found 2 plugins. 111 | Preloading 0 native plugins for Editor in 0.00 ms. 112 | Unloading 1812 Unused Serialized files (Serialized files now loaded: 0) 113 | System memory in use before: 143.0 MB. 114 | System memory in use after: 143.1 MB. 115 | 116 | Unloading 19 unused Assets to reduce memory usage. Loaded Objects now: 2259. 117 | Total: 2.213333 ms (FindLiveObjects: 0.143000 ms CreateObjectMapping: 0.035500 ms MarkObjects: 1.970416 ms DeleteObjects: 0.062042 ms) 118 | 119 | AssetImportParameters requested are different than current active one (requested -> active): 120 | custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 121 | custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 122 | custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 123 | custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 124 | custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 125 | custom:framework-osx-AVFoundation: e770b220cccbd017edd2c1fefb359320 -> 126 | custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 127 | custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 128 | custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 129 | ======================================================================== 130 | Received Prepare 131 | Registering precompiled user dll's ... 132 | Registered in 0.001245 seconds. 133 | Begin MonoManager ReloadAssembly 134 | Native extension for OSXStandalone target not found 135 | Refreshing native plugins compatible for Editor in 0.33 ms, found 2 plugins. 136 | Preloading 0 native plugins for Editor in 0.00 ms. 137 | Mono: successfully reloaded assembly 138 | - Completed reload, in 1.831 seconds 139 | Domain Reload Profiling: 140 | ReloadAssembly (1832ms) 141 | BeginReloadAssembly (212ms) 142 | ExecutionOrderSort (0ms) 143 | DisableScriptedObjects (44ms) 144 | BackupInstance (0ms) 145 | ReleaseScriptingObjects (0ms) 146 | CreateAndSetChildDomain (51ms) 147 | EndReloadAssembly (1515ms) 148 | LoadAssemblies (228ms) 149 | RebuildTransferFunctionScriptingTraits (0ms) 150 | SetupTypeCache (300ms) 151 | ReleaseScriptCaches (1ms) 152 | RebuildScriptCaches (57ms) 153 | SetupLoadedEditorAssemblies (641ms) 154 | LogAssemblyErrors (0ms) 155 | InitializePlatformSupportModulesInManaged (15ms) 156 | SetLoadedEditorAssemblies (2ms) 157 | RefreshPlugins (0ms) 158 | BeforeProcessingInitializeOnLoad (115ms) 159 | ProcessInitializeOnLoadAttributes (481ms) 160 | ProcessInitializeOnLoadMethodAttributes (26ms) 161 | AfterProcessingInitializeOnLoad (1ms) 162 | EditorAssembliesLoaded (0ms) 163 | ExecutionOrderSort2 (0ms) 164 | AwakeInstancesAfterBackupRestoration (51ms) 165 | Platform modules already initialized, skipping 166 | Refreshing native plugins compatible for Editor in 0.36 ms, found 2 plugins. 167 | Preloading 0 native plugins for Editor in 0.00 ms. 168 | Unloading 1802 Unused Serialized files (Serialized files now loaded: 0) 169 | System memory in use before: 142.6 MB. 170 | System memory in use after: 142.7 MB. 171 | 172 | Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 2263. 173 | Total: 2.249417 ms (FindLiveObjects: 0.133667 ms CreateObjectMapping: 0.035458 ms MarkObjects: 2.057583 ms DeleteObjects: 0.021500 ms) 174 | 175 | AssetImportParameters requested are different than current active one (requested -> active): 176 | custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 177 | custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 178 | custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 179 | custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 180 | custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 181 | custom:framework-osx-AVFoundation: e770b220cccbd017edd2c1fefb359320 -> 182 | custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 183 | custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 184 | custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 185 | ======================================================================== 186 | Received Prepare 187 | Registering precompiled user dll's ... 188 | Registered in 0.000777 seconds. 189 | Begin MonoManager ReloadAssembly 190 | Native extension for OSXStandalone target not found 191 | Refreshing native plugins compatible for Editor in 0.34 ms, found 2 plugins. 192 | Preloading 0 native plugins for Editor in 0.00 ms. 193 | Mono: successfully reloaded assembly 194 | - Completed reload, in 1.932 seconds 195 | Domain Reload Profiling: 196 | ReloadAssembly (1933ms) 197 | BeginReloadAssembly (215ms) 198 | ExecutionOrderSort (0ms) 199 | DisableScriptedObjects (44ms) 200 | BackupInstance (0ms) 201 | ReleaseScriptingObjects (0ms) 202 | CreateAndSetChildDomain (55ms) 203 | EndReloadAssembly (1610ms) 204 | LoadAssemblies (208ms) 205 | RebuildTransferFunctionScriptingTraits (0ms) 206 | SetupTypeCache (300ms) 207 | ReleaseScriptCaches (1ms) 208 | RebuildScriptCaches (61ms) 209 | SetupLoadedEditorAssemblies (699ms) 210 | LogAssemblyErrors (0ms) 211 | InitializePlatformSupportModulesInManaged (18ms) 212 | SetLoadedEditorAssemblies (2ms) 213 | RefreshPlugins (0ms) 214 | BeforeProcessingInitializeOnLoad (139ms) 215 | ProcessInitializeOnLoadAttributes (511ms) 216 | ProcessInitializeOnLoadMethodAttributes (28ms) 217 | AfterProcessingInitializeOnLoad (1ms) 218 | EditorAssembliesLoaded (0ms) 219 | ExecutionOrderSort2 (0ms) 220 | AwakeInstancesAfterBackupRestoration (83ms) 221 | Platform modules already initialized, skipping 222 | Refreshing native plugins compatible for Editor in 0.40 ms, found 2 plugins. 223 | Preloading 0 native plugins for Editor in 0.00 ms. 224 | Unloading 1802 Unused Serialized files (Serialized files now loaded: 0) 225 | System memory in use before: 142.8 MB. 226 | System memory in use after: 142.9 MB. 227 | 228 | Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 2267. 229 | Total: 2.406958 ms (FindLiveObjects: 0.158042 ms CreateObjectMapping: 0.043959 ms MarkObjects: 2.170625 ms DeleteObjects: 0.033042 ms) 230 | 231 | AssetImportParameters requested are different than current active one (requested -> active): 232 | custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 233 | custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 234 | custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 235 | custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 236 | custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 237 | custom:framework-osx-AVFoundation: e770b220cccbd017edd2c1fefb359320 -> 238 | custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 239 | custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 240 | custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 241 | ======================================================================== 242 | Received Import Request. 243 | path: Assets/MyWebSocketServer.cs 244 | artifactKey: Guid(5cae6cd5a80444e79b49b1b23e819bb0) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 245 | Start importing Assets/MyWebSocketServer.cs using Guid(5cae6cd5a80444e79b49b1b23e819bb0) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '788f72137e0f7237f6bc9f8eb30acac5') in 0.208488 seconds 246 | Import took 0.211476 seconds . 247 | 248 | ======================================================================== 249 | Received Prepare 250 | Registering precompiled user dll's ... 251 | Registered in 0.001035 seconds. 252 | Begin MonoManager ReloadAssembly 253 | Native extension for OSXStandalone target not found 254 | Refreshing native plugins compatible for Editor in 0.35 ms, found 2 plugins. 255 | Preloading 0 native plugins for Editor in 0.00 ms. 256 | Mono: successfully reloaded assembly 257 | - Completed reload, in 1.978 seconds 258 | Domain Reload Profiling: 259 | ReloadAssembly (1980ms) 260 | BeginReloadAssembly (219ms) 261 | ExecutionOrderSort (0ms) 262 | DisableScriptedObjects (48ms) 263 | BackupInstance (0ms) 264 | ReleaseScriptingObjects (0ms) 265 | CreateAndSetChildDomain (53ms) 266 | EndReloadAssembly (1650ms) 267 | LoadAssemblies (211ms) 268 | RebuildTransferFunctionScriptingTraits (0ms) 269 | SetupTypeCache (307ms) 270 | ReleaseScriptCaches (1ms) 271 | RebuildScriptCaches (62ms) 272 | SetupLoadedEditorAssemblies (732ms) 273 | LogAssemblyErrors (0ms) 274 | InitializePlatformSupportModulesInManaged (18ms) 275 | SetLoadedEditorAssemblies (2ms) 276 | RefreshPlugins (0ms) 277 | BeforeProcessingInitializeOnLoad (145ms) 278 | ProcessInitializeOnLoadAttributes (535ms) 279 | ProcessInitializeOnLoadMethodAttributes (32ms) 280 | AfterProcessingInitializeOnLoad (1ms) 281 | EditorAssembliesLoaded (0ms) 282 | ExecutionOrderSort2 (0ms) 283 | AwakeInstancesAfterBackupRestoration (58ms) 284 | Platform modules already initialized, skipping 285 | Refreshing native plugins compatible for Editor in 0.52 ms, found 2 plugins. 286 | Preloading 0 native plugins for Editor in 0.00 ms. 287 | Unloading 1802 Unused Serialized files (Serialized files now loaded: 0) 288 | System memory in use before: 147.4 MB. 289 | System memory in use after: 147.5 MB. 290 | 291 | Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 2271. 292 | Total: 2.417792 ms (FindLiveObjects: 0.191541 ms CreateObjectMapping: 0.047125 ms MarkObjects: 2.158417 ms DeleteObjects: 0.019625 ms) 293 | 294 | AssetImportParameters requested are different than current active one (requested -> active): 295 | custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 296 | custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 297 | custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 298 | custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 299 | custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 300 | custom:framework-osx-AVFoundation: e770b220cccbd017edd2c1fefb359320 -> 301 | custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 302 | custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 303 | custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 304 | ======================================================================== 305 | Received Prepare 306 | Registering precompiled user dll's ... 307 | Registered in 0.002001 seconds. 308 | Begin MonoManager ReloadAssembly 309 | Native extension for OSXStandalone target not found 310 | Refreshing native plugins compatible for Editor in 0.31 ms, found 2 plugins. 311 | Preloading 0 native plugins for Editor in 0.00 ms. 312 | Mono: successfully reloaded assembly 313 | - Completed reload, in 2.039 seconds 314 | Domain Reload Profiling: 315 | ReloadAssembly (2041ms) 316 | BeginReloadAssembly (238ms) 317 | ExecutionOrderSort (0ms) 318 | DisableScriptedObjects (44ms) 319 | BackupInstance (0ms) 320 | ReleaseScriptingObjects (0ms) 321 | CreateAndSetChildDomain (69ms) 322 | EndReloadAssembly (1691ms) 323 | LoadAssemblies (240ms) 324 | RebuildTransferFunctionScriptingTraits (0ms) 325 | SetupTypeCache (317ms) 326 | ReleaseScriptCaches (1ms) 327 | RebuildScriptCaches (61ms) 328 | SetupLoadedEditorAssemblies (734ms) 329 | LogAssemblyErrors (0ms) 330 | InitializePlatformSupportModulesInManaged (16ms) 331 | SetLoadedEditorAssemblies (2ms) 332 | RefreshPlugins (0ms) 333 | BeforeProcessingInitializeOnLoad (131ms) 334 | ProcessInitializeOnLoadAttributes (554ms) 335 | ProcessInitializeOnLoadMethodAttributes (30ms) 336 | AfterProcessingInitializeOnLoad (1ms) 337 | EditorAssembliesLoaded (0ms) 338 | ExecutionOrderSort2 (0ms) 339 | AwakeInstancesAfterBackupRestoration (63ms) 340 | Platform modules already initialized, skipping 341 | Refreshing native plugins compatible for Editor in 0.35 ms, found 2 plugins. 342 | Preloading 0 native plugins for Editor in 0.00 ms. 343 | Unloading 1802 Unused Serialized files (Serialized files now loaded: 0) 344 | System memory in use before: 147.6 MB. 345 | System memory in use after: 147.7 MB. 346 | 347 | Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 2275. 348 | Total: 3.220417 ms (FindLiveObjects: 0.205417 ms CreateObjectMapping: 0.037042 ms MarkObjects: 2.917459 ms DeleteObjects: 0.057750 ms) 349 | 350 | AssetImportParameters requested are different than current active one (requested -> active): 351 | custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 352 | custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 353 | custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 354 | custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 355 | custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 356 | custom:framework-osx-AVFoundation: e770b220cccbd017edd2c1fefb359320 -> 357 | custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 358 | custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 359 | custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 360 | -------------------------------------------------------------------------------- /Logs/Packages-Update.log: -------------------------------------------------------------------------------- 1 | 2 | === Sun Jun 13 23:27:49 2021 3 | 4 | Packages were changed. 5 | Update Mode: mergeDefaultDependencies 6 | 7 | The following packages were added: 8 | com.unity.collab-proxy@1.3.9 9 | com.unity.ide.rider@2.0.7 10 | com.unity.ide.visualstudio@2.0.7 11 | com.unity.ide.vscode@1.2.3 12 | com.unity.modules.ai@1.0.0 13 | com.unity.modules.androidjni@1.0.0 14 | com.unity.modules.animation@1.0.0 15 | com.unity.modules.assetbundle@1.0.0 16 | com.unity.modules.audio@1.0.0 17 | com.unity.modules.cloth@1.0.0 18 | com.unity.modules.director@1.0.0 19 | com.unity.modules.imageconversion@1.0.0 20 | com.unity.modules.imgui@1.0.0 21 | com.unity.modules.jsonserialize@1.0.0 22 | com.unity.modules.particlesystem@1.0.0 23 | com.unity.modules.physics@1.0.0 24 | com.unity.modules.physics2d@1.0.0 25 | com.unity.modules.screencapture@1.0.0 26 | com.unity.modules.terrain@1.0.0 27 | com.unity.modules.terrainphysics@1.0.0 28 | com.unity.modules.tilemap@1.0.0 29 | com.unity.modules.ui@1.0.0 30 | com.unity.modules.uielements@1.0.0 31 | com.unity.modules.umbra@1.0.0 32 | com.unity.modules.unityanalytics@1.0.0 33 | com.unity.modules.unitywebrequest@1.0.0 34 | com.unity.modules.unitywebrequestassetbundle@1.0.0 35 | com.unity.modules.unitywebrequestaudio@1.0.0 36 | com.unity.modules.unitywebrequesttexture@1.0.0 37 | com.unity.modules.unitywebrequestwww@1.0.0 38 | com.unity.modules.vehicles@1.0.0 39 | com.unity.modules.video@1.0.0 40 | com.unity.modules.vr@1.0.0 41 | com.unity.modules.wind@1.0.0 42 | com.unity.modules.xr@1.0.0 43 | com.unity.test-framework@1.1.24 44 | com.unity.textmeshpro@3.0.4 45 | com.unity.timeline@1.4.7 46 | com.unity.ugui@1.0.0 47 | The following packages were updated: 48 | com.unity.2d.animation from version 5.0.1 to 5.0.4 49 | com.unity.2d.psdimporter from version 4.0.1 to 4.0.2 50 | com.unity.2d.spriteshape from version 5.0.1 to 5.1.1 51 | -------------------------------------------------------------------------------- /Logs/shadercompiler-AssetImportWorker0.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler0.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler1.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler2.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler3.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler4.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler5.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler6.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Logs/shadercompiler-UnityShaderCompiler7.log: -------------------------------------------------------------------------------- 1 | Base path: '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.2d.animation": "5.0.4", 4 | "com.unity.2d.pixel-perfect": "4.0.1", 5 | "com.unity.2d.psdimporter": "4.0.2", 6 | "com.unity.2d.sprite": "1.0.0", 7 | "com.unity.2d.spriteshape": "5.1.1", 8 | "com.unity.2d.tilemap": "1.0.0", 9 | "com.unity.collab-proxy": "1.3.9", 10 | "com.unity.ide.rider": "2.0.7", 11 | "com.unity.ide.visualstudio": "2.0.7", 12 | "com.unity.ide.vscode": "1.2.3", 13 | "com.unity.test-framework": "1.1.24", 14 | "com.unity.textmeshpro": "3.0.4", 15 | "com.unity.timeline": "1.4.7", 16 | "com.unity.ugui": "1.0.0", 17 | "com.unity.modules.ai": "1.0.0", 18 | "com.unity.modules.androidjni": "1.0.0", 19 | "com.unity.modules.animation": "1.0.0", 20 | "com.unity.modules.assetbundle": "1.0.0", 21 | "com.unity.modules.audio": "1.0.0", 22 | "com.unity.modules.cloth": "1.0.0", 23 | "com.unity.modules.director": "1.0.0", 24 | "com.unity.modules.imageconversion": "1.0.0", 25 | "com.unity.modules.imgui": "1.0.0", 26 | "com.unity.modules.jsonserialize": "1.0.0", 27 | "com.unity.modules.particlesystem": "1.0.0", 28 | "com.unity.modules.physics": "1.0.0", 29 | "com.unity.modules.physics2d": "1.0.0", 30 | "com.unity.modules.screencapture": "1.0.0", 31 | "com.unity.modules.terrain": "1.0.0", 32 | "com.unity.modules.terrainphysics": "1.0.0", 33 | "com.unity.modules.tilemap": "1.0.0", 34 | "com.unity.modules.ui": "1.0.0", 35 | "com.unity.modules.uielements": "1.0.0", 36 | "com.unity.modules.umbra": "1.0.0", 37 | "com.unity.modules.unityanalytics": "1.0.0", 38 | "com.unity.modules.unitywebrequest": "1.0.0", 39 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 40 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 41 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 42 | "com.unity.modules.unitywebrequestwww": "1.0.0", 43 | "com.unity.modules.vehicles": "1.0.0", 44 | "com.unity.modules.video": "1.0.0", 45 | "com.unity.modules.vr": "1.0.0", 46 | "com.unity.modules.wind": "1.0.0", 47 | "com.unity.modules.xr": "1.0.0" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.2d.animation": { 4 | "version": "5.0.4", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.2d.common": "4.0.3", 9 | "com.unity.mathematics": "1.1.0", 10 | "com.unity.2d.sprite": "1.0.0", 11 | "com.unity.modules.animation": "1.0.0", 12 | "com.unity.modules.uielements": "1.0.0" 13 | }, 14 | "url": "https://packages.unity.com" 15 | }, 16 | "com.unity.2d.common": { 17 | "version": "4.0.3", 18 | "depth": 1, 19 | "source": "registry", 20 | "dependencies": { 21 | "com.unity.2d.sprite": "1.0.0", 22 | "com.unity.modules.uielements": "1.0.0" 23 | }, 24 | "url": "https://packages.unity.com" 25 | }, 26 | "com.unity.2d.path": { 27 | "version": "4.0.1", 28 | "depth": 1, 29 | "source": "registry", 30 | "dependencies": {}, 31 | "url": "https://packages.unity.com" 32 | }, 33 | "com.unity.2d.pixel-perfect": { 34 | "version": "4.0.1", 35 | "depth": 0, 36 | "source": "registry", 37 | "dependencies": {}, 38 | "url": "https://packages.unity.com" 39 | }, 40 | "com.unity.2d.psdimporter": { 41 | "version": "4.0.2", 42 | "depth": 0, 43 | "source": "registry", 44 | "dependencies": { 45 | "com.unity.2d.common": "4.0.2", 46 | "com.unity.2d.animation": "5.0.2", 47 | "com.unity.2d.sprite": "1.0.0" 48 | }, 49 | "url": "https://packages.unity.com" 50 | }, 51 | "com.unity.2d.sprite": { 52 | "version": "1.0.0", 53 | "depth": 0, 54 | "source": "builtin", 55 | "dependencies": {} 56 | }, 57 | "com.unity.2d.spriteshape": { 58 | "version": "5.1.1", 59 | "depth": 0, 60 | "source": "registry", 61 | "dependencies": { 62 | "com.unity.mathematics": "1.1.0", 63 | "com.unity.2d.common": "4.0.3", 64 | "com.unity.2d.path": "4.0.1", 65 | "com.unity.modules.physics2d": "1.0.0" 66 | }, 67 | "url": "https://packages.unity.com" 68 | }, 69 | "com.unity.2d.tilemap": { 70 | "version": "1.0.0", 71 | "depth": 0, 72 | "source": "builtin", 73 | "dependencies": {} 74 | }, 75 | "com.unity.collab-proxy": { 76 | "version": "1.3.9", 77 | "depth": 0, 78 | "source": "registry", 79 | "dependencies": {}, 80 | "url": "https://packages.unity.com" 81 | }, 82 | "com.unity.ext.nunit": { 83 | "version": "1.0.6", 84 | "depth": 1, 85 | "source": "registry", 86 | "dependencies": {}, 87 | "url": "https://packages.unity.com" 88 | }, 89 | "com.unity.ide.rider": { 90 | "version": "2.0.7", 91 | "depth": 0, 92 | "source": "registry", 93 | "dependencies": { 94 | "com.unity.test-framework": "1.1.1" 95 | }, 96 | "url": "https://packages.unity.com" 97 | }, 98 | "com.unity.ide.visualstudio": { 99 | "version": "2.0.7", 100 | "depth": 0, 101 | "source": "registry", 102 | "dependencies": { 103 | "com.unity.test-framework": "1.1.9" 104 | }, 105 | "url": "https://packages.unity.com" 106 | }, 107 | "com.unity.ide.vscode": { 108 | "version": "1.2.3", 109 | "depth": 0, 110 | "source": "registry", 111 | "dependencies": {}, 112 | "url": "https://packages.unity.com" 113 | }, 114 | "com.unity.mathematics": { 115 | "version": "1.1.0", 116 | "depth": 1, 117 | "source": "registry", 118 | "dependencies": {}, 119 | "url": "https://packages.unity.com" 120 | }, 121 | "com.unity.test-framework": { 122 | "version": "1.1.24", 123 | "depth": 0, 124 | "source": "registry", 125 | "dependencies": { 126 | "com.unity.ext.nunit": "1.0.6", 127 | "com.unity.modules.imgui": "1.0.0", 128 | "com.unity.modules.jsonserialize": "1.0.0" 129 | }, 130 | "url": "https://packages.unity.com" 131 | }, 132 | "com.unity.textmeshpro": { 133 | "version": "3.0.4", 134 | "depth": 0, 135 | "source": "registry", 136 | "dependencies": { 137 | "com.unity.ugui": "1.0.0" 138 | }, 139 | "url": "https://packages.unity.com" 140 | }, 141 | "com.unity.timeline": { 142 | "version": "1.4.7", 143 | "depth": 0, 144 | "source": "registry", 145 | "dependencies": { 146 | "com.unity.modules.director": "1.0.0", 147 | "com.unity.modules.animation": "1.0.0", 148 | "com.unity.modules.audio": "1.0.0", 149 | "com.unity.modules.particlesystem": "1.0.0" 150 | }, 151 | "url": "https://packages.unity.com" 152 | }, 153 | "com.unity.ugui": { 154 | "version": "1.0.0", 155 | "depth": 0, 156 | "source": "builtin", 157 | "dependencies": { 158 | "com.unity.modules.ui": "1.0.0", 159 | "com.unity.modules.imgui": "1.0.0" 160 | } 161 | }, 162 | "com.unity.modules.ai": { 163 | "version": "1.0.0", 164 | "depth": 0, 165 | "source": "builtin", 166 | "dependencies": {} 167 | }, 168 | "com.unity.modules.androidjni": { 169 | "version": "1.0.0", 170 | "depth": 0, 171 | "source": "builtin", 172 | "dependencies": {} 173 | }, 174 | "com.unity.modules.animation": { 175 | "version": "1.0.0", 176 | "depth": 0, 177 | "source": "builtin", 178 | "dependencies": {} 179 | }, 180 | "com.unity.modules.assetbundle": { 181 | "version": "1.0.0", 182 | "depth": 0, 183 | "source": "builtin", 184 | "dependencies": {} 185 | }, 186 | "com.unity.modules.audio": { 187 | "version": "1.0.0", 188 | "depth": 0, 189 | "source": "builtin", 190 | "dependencies": {} 191 | }, 192 | "com.unity.modules.cloth": { 193 | "version": "1.0.0", 194 | "depth": 0, 195 | "source": "builtin", 196 | "dependencies": { 197 | "com.unity.modules.physics": "1.0.0" 198 | } 199 | }, 200 | "com.unity.modules.director": { 201 | "version": "1.0.0", 202 | "depth": 0, 203 | "source": "builtin", 204 | "dependencies": { 205 | "com.unity.modules.audio": "1.0.0", 206 | "com.unity.modules.animation": "1.0.0" 207 | } 208 | }, 209 | "com.unity.modules.imageconversion": { 210 | "version": "1.0.0", 211 | "depth": 0, 212 | "source": "builtin", 213 | "dependencies": {} 214 | }, 215 | "com.unity.modules.imgui": { 216 | "version": "1.0.0", 217 | "depth": 0, 218 | "source": "builtin", 219 | "dependencies": {} 220 | }, 221 | "com.unity.modules.jsonserialize": { 222 | "version": "1.0.0", 223 | "depth": 0, 224 | "source": "builtin", 225 | "dependencies": {} 226 | }, 227 | "com.unity.modules.particlesystem": { 228 | "version": "1.0.0", 229 | "depth": 0, 230 | "source": "builtin", 231 | "dependencies": {} 232 | }, 233 | "com.unity.modules.physics": { 234 | "version": "1.0.0", 235 | "depth": 0, 236 | "source": "builtin", 237 | "dependencies": {} 238 | }, 239 | "com.unity.modules.physics2d": { 240 | "version": "1.0.0", 241 | "depth": 0, 242 | "source": "builtin", 243 | "dependencies": {} 244 | }, 245 | "com.unity.modules.screencapture": { 246 | "version": "1.0.0", 247 | "depth": 0, 248 | "source": "builtin", 249 | "dependencies": { 250 | "com.unity.modules.imageconversion": "1.0.0" 251 | } 252 | }, 253 | "com.unity.modules.subsystems": { 254 | "version": "1.0.0", 255 | "depth": 1, 256 | "source": "builtin", 257 | "dependencies": { 258 | "com.unity.modules.jsonserialize": "1.0.0" 259 | } 260 | }, 261 | "com.unity.modules.terrain": { 262 | "version": "1.0.0", 263 | "depth": 0, 264 | "source": "builtin", 265 | "dependencies": {} 266 | }, 267 | "com.unity.modules.terrainphysics": { 268 | "version": "1.0.0", 269 | "depth": 0, 270 | "source": "builtin", 271 | "dependencies": { 272 | "com.unity.modules.physics": "1.0.0", 273 | "com.unity.modules.terrain": "1.0.0" 274 | } 275 | }, 276 | "com.unity.modules.tilemap": { 277 | "version": "1.0.0", 278 | "depth": 0, 279 | "source": "builtin", 280 | "dependencies": { 281 | "com.unity.modules.physics2d": "1.0.0" 282 | } 283 | }, 284 | "com.unity.modules.ui": { 285 | "version": "1.0.0", 286 | "depth": 0, 287 | "source": "builtin", 288 | "dependencies": {} 289 | }, 290 | "com.unity.modules.uielements": { 291 | "version": "1.0.0", 292 | "depth": 0, 293 | "source": "builtin", 294 | "dependencies": { 295 | "com.unity.modules.ui": "1.0.0", 296 | "com.unity.modules.imgui": "1.0.0", 297 | "com.unity.modules.jsonserialize": "1.0.0", 298 | "com.unity.modules.uielementsnative": "1.0.0" 299 | } 300 | }, 301 | "com.unity.modules.uielementsnative": { 302 | "version": "1.0.0", 303 | "depth": 1, 304 | "source": "builtin", 305 | "dependencies": { 306 | "com.unity.modules.ui": "1.0.0", 307 | "com.unity.modules.imgui": "1.0.0", 308 | "com.unity.modules.jsonserialize": "1.0.0" 309 | } 310 | }, 311 | "com.unity.modules.umbra": { 312 | "version": "1.0.0", 313 | "depth": 0, 314 | "source": "builtin", 315 | "dependencies": {} 316 | }, 317 | "com.unity.modules.unityanalytics": { 318 | "version": "1.0.0", 319 | "depth": 0, 320 | "source": "builtin", 321 | "dependencies": { 322 | "com.unity.modules.unitywebrequest": "1.0.0", 323 | "com.unity.modules.jsonserialize": "1.0.0" 324 | } 325 | }, 326 | "com.unity.modules.unitywebrequest": { 327 | "version": "1.0.0", 328 | "depth": 0, 329 | "source": "builtin", 330 | "dependencies": {} 331 | }, 332 | "com.unity.modules.unitywebrequestassetbundle": { 333 | "version": "1.0.0", 334 | "depth": 0, 335 | "source": "builtin", 336 | "dependencies": { 337 | "com.unity.modules.assetbundle": "1.0.0", 338 | "com.unity.modules.unitywebrequest": "1.0.0" 339 | } 340 | }, 341 | "com.unity.modules.unitywebrequestaudio": { 342 | "version": "1.0.0", 343 | "depth": 0, 344 | "source": "builtin", 345 | "dependencies": { 346 | "com.unity.modules.unitywebrequest": "1.0.0", 347 | "com.unity.modules.audio": "1.0.0" 348 | } 349 | }, 350 | "com.unity.modules.unitywebrequesttexture": { 351 | "version": "1.0.0", 352 | "depth": 0, 353 | "source": "builtin", 354 | "dependencies": { 355 | "com.unity.modules.unitywebrequest": "1.0.0", 356 | "com.unity.modules.imageconversion": "1.0.0" 357 | } 358 | }, 359 | "com.unity.modules.unitywebrequestwww": { 360 | "version": "1.0.0", 361 | "depth": 0, 362 | "source": "builtin", 363 | "dependencies": { 364 | "com.unity.modules.unitywebrequest": "1.0.0", 365 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 366 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 367 | "com.unity.modules.audio": "1.0.0", 368 | "com.unity.modules.assetbundle": "1.0.0", 369 | "com.unity.modules.imageconversion": "1.0.0" 370 | } 371 | }, 372 | "com.unity.modules.vehicles": { 373 | "version": "1.0.0", 374 | "depth": 0, 375 | "source": "builtin", 376 | "dependencies": { 377 | "com.unity.modules.physics": "1.0.0" 378 | } 379 | }, 380 | "com.unity.modules.video": { 381 | "version": "1.0.0", 382 | "depth": 0, 383 | "source": "builtin", 384 | "dependencies": { 385 | "com.unity.modules.audio": "1.0.0", 386 | "com.unity.modules.ui": "1.0.0", 387 | "com.unity.modules.unitywebrequest": "1.0.0" 388 | } 389 | }, 390 | "com.unity.modules.vr": { 391 | "version": "1.0.0", 392 | "depth": 0, 393 | "source": "builtin", 394 | "dependencies": { 395 | "com.unity.modules.jsonserialize": "1.0.0", 396 | "com.unity.modules.physics": "1.0.0", 397 | "com.unity.modules.xr": "1.0.0" 398 | } 399 | }, 400 | "com.unity.modules.wind": { 401 | "version": "1.0.0", 402 | "depth": 0, 403 | "source": "builtin", 404 | "dependencies": {} 405 | }, 406 | "com.unity.modules.xr": { 407 | "version": "1.0.0", 408 | "depth": 0, 409 | "source": "builtin", 410 | "dependencies": { 411 | "com.unity.modules.physics": "1.0.0", 412 | "com.unity.modules.jsonserialize": "1.0.0", 413 | "com.unity.modules.subsystems": "1.0.0" 414 | } 415 | } 416 | } 417 | } 418 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 0 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0.1 18 | m_ClothInterCollisionStiffness: 0.2 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 26 | m_ContactPairsMode: 0 27 | m_BroadphaseType: 0 28 | m_WorldBounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 250, y: 250, z: 250} 31 | m_WorldSubdivisions: 8 32 | m_FrictionType: 0 33 | m_EnableEnhancedDeterminism: 0 34 | m_EnableUnifiedHeightmaps: 1 35 | m_SolverType: 0 36 | m_DefaultMaxAngularSpeed: 50 37 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 2cda990e2423bbf4892e6590ba056729 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 10 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 1 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 4 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 31 | m_AssetPipelineMode: 1 32 | m_CacheServerMode: 0 33 | m_CacheServerEndpoint: 34 | m_CacheServerNamespacePrefix: default 35 | m_CacheServerEnableDownload: 1 36 | m_CacheServerEnableUpload: 1 37 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_VideoShadersIncludeMode: 2 32 | m_AlwaysIncludedShaders: 33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | m_LogWhenShaderIsCompiled: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Reset 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: left alt 334 | altNegativeButton: 335 | altPositiveButton: joystick button 1 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Next 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page down 350 | altNegativeButton: 351 | altPositiveButton: joystick button 5 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Previous 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: page up 366 | altNegativeButton: 367 | altPositiveButton: joystick button 4 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Validate 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: return 382 | altNegativeButton: 383 | altPositiveButton: joystick button 0 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Persistent 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: right shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 2 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Multiplier 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: 413 | positiveButton: left shift 414 | altNegativeButton: 415 | altPositiveButton: joystick button 3 416 | gravity: 0 417 | dead: 0 418 | sensitivity: 0 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Horizontal 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: left 429 | positiveButton: right 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 0 454 | axis: 0 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Vertical 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: down 461 | positiveButton: up 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 6 471 | joyNum: 0 472 | - serializedVersion: 3 473 | m_Name: Debug Horizontal 474 | descriptiveName: 475 | descriptiveNegativeName: 476 | negativeButton: left 477 | positiveButton: right 478 | altNegativeButton: 479 | altPositiveButton: 480 | gravity: 1000 481 | dead: 0.001 482 | sensitivity: 1000 483 | snap: 0 484 | invert: 0 485 | type: 2 486 | axis: 5 487 | joyNum: 0 488 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreviewPackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | oneTimeWarningShown: 0 20 | m_Registries: 21 | - m_Id: main 22 | m_Name: 23 | m_Url: https://packages.unity.com 24 | m_Scopes: [] 25 | m_IsDefault: 1 26 | m_Capabilities: 7 27 | m_UserSelectedRegistryName: 28 | m_UserAddingNewScopedRegistry: 0 29 | m_RegistryInfoDraft: 30 | m_ErrorMessage: 31 | m_Original: 32 | m_Id: 33 | m_Name: 34 | m_Url: 35 | m_Scopes: [] 36 | m_IsDefault: 0 37 | m_Capabilities: 0 38 | m_Modified: 0 39 | m_Name: 40 | m_Url: 41 | m_Scopes: 42 | - 43 | m_SelectedScopeIndex: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_SimulationMode: 0 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: d7253112ca58644fdae2ad0812abc813 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: unity-websocket-server 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | defaultIsNativeResolution: 1 72 | macRetinaSupport: 1 73 | runInBackground: 0 74 | captureSingleScreen: 0 75 | muteOtherAudioSources: 0 76 | Prepare IOS For Recording: 0 77 | Force IOS Speakers When Recording: 0 78 | deferSystemGesturesMode: 0 79 | hideHomeButton: 0 80 | submitAnalytics: 1 81 | usePlayerLog: 1 82 | bakeCollisionMeshes: 0 83 | forceSingleInstance: 0 84 | useFlipModelSwapchain: 1 85 | resizableWindow: 0 86 | useMacAppStoreValidation: 0 87 | macAppStoreCategory: public.app-category.games 88 | gpuSkinning: 0 89 | xboxPIXTextureCapture: 0 90 | xboxEnableAvatar: 0 91 | xboxEnableKinect: 0 92 | xboxEnableKinectAutoTracking: 0 93 | xboxEnableFitness: 0 94 | visibleInBackground: 1 95 | allowFullscreenSwitch: 1 96 | fullscreenMode: 1 97 | xboxSpeechDB: 0 98 | xboxEnableHeadOrientation: 0 99 | xboxEnableGuest: 0 100 | xboxEnablePIXSampling: 0 101 | metalFramebufferOnly: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOneEnableTypeOptimization: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 1048576 111 | switchQueueControlMemory: 16384 112 | switchQueueComputeMemory: 262144 113 | switchNVNShaderPoolsGranularity: 33554432 114 | switchNVNDefaultPoolsGranularity: 16777216 115 | switchNVNOtherPoolsGranularity: 16777216 116 | switchNVNMaxPublicTextureIDCount: 0 117 | switchNVNMaxPublicSamplerIDCount: 0 118 | stadiaPresentMode: 0 119 | stadiaTargetFramerate: 0 120 | vulkanNumSwapchainBuffers: 3 121 | vulkanEnableSetSRGBWrite: 0 122 | vulkanEnablePreTransform: 0 123 | vulkanEnableLateAcquireNextImage: 0 124 | m_SupportedAspectRatios: 125 | 4:3: 1 126 | 5:4: 1 127 | 16:10: 1 128 | 16:9: 1 129 | Others: 1 130 | bundleVersion: 1.0 131 | preloadedAssets: [] 132 | metroInputSource: 0 133 | wsaTransparentSwapchain: 0 134 | m_HolographicPauseOnTrackingLoss: 1 135 | xboxOneDisableKinectGpuReservation: 1 136 | xboxOneEnable7thCore: 1 137 | vrSettings: 138 | enable360StereoCapture: 0 139 | isWsaHolographicRemotingEnabled: 0 140 | enableFrameTimingStats: 0 141 | useHDRDisplay: 0 142 | D3DHDRBitDepth: 0 143 | m_ColorGamuts: 00000000 144 | targetPixelDensity: 30 145 | resolutionScalingMode: 0 146 | androidSupportedAspectRatio: 1 147 | androidMaxAspectRatio: 2.1 148 | applicationIdentifier: {} 149 | buildNumber: 150 | Standalone: 0 151 | iPhone: 0 152 | tvOS: 0 153 | overrideDefaultApplicationIdentifier: 0 154 | AndroidBundleVersionCode: 1 155 | AndroidMinSdkVersion: 19 156 | AndroidTargetSdkVersion: 0 157 | AndroidPreferredInstallLocation: 1 158 | aotOptions: 159 | stripEngineCode: 1 160 | iPhoneStrippingLevel: 0 161 | iPhoneScriptCallOptimization: 0 162 | ForceInternetPermission: 0 163 | ForceSDCardPermission: 0 164 | CreateWallpaper: 0 165 | APKExpansionFiles: 0 166 | keepLoadedShadersAlive: 0 167 | StripUnusedMeshComponents: 0 168 | VertexChannelCompressionMask: 4054 169 | iPhoneSdkVersion: 988 170 | iOSTargetOSVersionString: 11.0 171 | tvOSSdkVersion: 0 172 | tvOSRequireExtendedGameController: 0 173 | tvOSTargetOSVersionString: 11.0 174 | uIPrerenderedIcon: 0 175 | uIRequiresPersistentWiFi: 0 176 | uIRequiresFullScreen: 1 177 | uIStatusBarHidden: 1 178 | uIExitOnSuspend: 0 179 | uIStatusBarStyle: 0 180 | appleTVSplashScreen: {fileID: 0} 181 | appleTVSplashScreen2x: {fileID: 0} 182 | tvOSSmallIconLayers: [] 183 | tvOSSmallIconLayers2x: [] 184 | tvOSLargeIconLayers: [] 185 | tvOSLargeIconLayers2x: [] 186 | tvOSTopShelfImageLayers: [] 187 | tvOSTopShelfImageLayers2x: [] 188 | tvOSTopShelfImageWideLayers: [] 189 | tvOSTopShelfImageWideLayers2x: [] 190 | iOSLaunchScreenType: 0 191 | iOSLaunchScreenPortrait: {fileID: 0} 192 | iOSLaunchScreenLandscape: {fileID: 0} 193 | iOSLaunchScreenBackgroundColor: 194 | serializedVersion: 2 195 | rgba: 0 196 | iOSLaunchScreenFillPct: 100 197 | iOSLaunchScreenSize: 100 198 | iOSLaunchScreenCustomXibPath: 199 | iOSLaunchScreeniPadType: 0 200 | iOSLaunchScreeniPadImage: {fileID: 0} 201 | iOSLaunchScreeniPadBackgroundColor: 202 | serializedVersion: 2 203 | rgba: 0 204 | iOSLaunchScreeniPadFillPct: 100 205 | iOSLaunchScreeniPadSize: 100 206 | iOSLaunchScreeniPadCustomXibPath: 207 | iOSLaunchScreenCustomStoryboardPath: 208 | iOSLaunchScreeniPadCustomStoryboardPath: 209 | iOSDeviceRequirements: [] 210 | iOSURLSchemes: [] 211 | iOSBackgroundModes: 0 212 | iOSMetalForceHardShadows: 0 213 | metalEditorSupport: 1 214 | metalAPIValidation: 1 215 | iOSRenderExtraFrameOnPause: 0 216 | iosCopyPluginsCodeInsteadOfSymlink: 0 217 | appleDeveloperTeamID: 218 | iOSManualSigningProvisioningProfileID: 219 | tvOSManualSigningProvisioningProfileID: 220 | iOSManualSigningProvisioningProfileType: 0 221 | tvOSManualSigningProvisioningProfileType: 0 222 | appleEnableAutomaticSigning: 0 223 | iOSRequireARKit: 0 224 | iOSAutomaticallyDetectAndAddCapabilities: 1 225 | appleEnableProMotion: 0 226 | shaderPrecisionModel: 0 227 | clonedFromGUID: 10ad67313f4034357812315f3c407484 228 | templatePackageId: com.unity.template.2d@5.0.0 229 | templateDefaultScene: Assets/Scenes/SampleScene.unity 230 | useCustomMainManifest: 0 231 | useCustomLauncherManifest: 0 232 | useCustomMainGradleTemplate: 0 233 | useCustomLauncherGradleManifest: 0 234 | useCustomBaseGradleTemplate: 0 235 | useCustomGradlePropertiesTemplate: 0 236 | useCustomProguardFile: 0 237 | AndroidTargetArchitectures: 1 238 | AndroidSplashScreenScale: 0 239 | androidSplashScreen: {fileID: 0} 240 | AndroidKeystoreName: 241 | AndroidKeyaliasName: 242 | AndroidBuildApkPerCpuArchitecture: 0 243 | AndroidTVCompatibility: 0 244 | AndroidIsGame: 1 245 | AndroidEnableTango: 0 246 | androidEnableBanner: 1 247 | androidUseLowAccuracyLocation: 0 248 | androidUseCustomKeystore: 0 249 | m_AndroidBanners: 250 | - width: 320 251 | height: 180 252 | banner: {fileID: 0} 253 | androidGamepadSupportLevel: 0 254 | AndroidMinifyWithR8: 0 255 | AndroidMinifyRelease: 0 256 | AndroidMinifyDebug: 0 257 | AndroidValidateAppBundleSize: 1 258 | AndroidAppBundleSizeToValidate: 150 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetPlatformIcons: [] 261 | m_BuildTargetBatching: [] 262 | m_BuildTargetGraphicsJobs: 263 | - m_BuildTarget: MacStandaloneSupport 264 | m_GraphicsJobs: 0 265 | - m_BuildTarget: Switch 266 | m_GraphicsJobs: 0 267 | - m_BuildTarget: MetroSupport 268 | m_GraphicsJobs: 0 269 | - m_BuildTarget: AppleTVSupport 270 | m_GraphicsJobs: 0 271 | - m_BuildTarget: BJMSupport 272 | m_GraphicsJobs: 0 273 | - m_BuildTarget: LinuxStandaloneSupport 274 | m_GraphicsJobs: 0 275 | - m_BuildTarget: PS4Player 276 | m_GraphicsJobs: 0 277 | - m_BuildTarget: iOSSupport 278 | m_GraphicsJobs: 0 279 | - m_BuildTarget: WindowsStandaloneSupport 280 | m_GraphicsJobs: 0 281 | - m_BuildTarget: XboxOnePlayer 282 | m_GraphicsJobs: 0 283 | - m_BuildTarget: LuminSupport 284 | m_GraphicsJobs: 0 285 | - m_BuildTarget: AndroidPlayer 286 | m_GraphicsJobs: 0 287 | - m_BuildTarget: WebGLSupport 288 | m_GraphicsJobs: 0 289 | m_BuildTargetGraphicsJobMode: [] 290 | m_BuildTargetGraphicsAPIs: 291 | - m_BuildTarget: AndroidPlayer 292 | m_APIs: 150000000b000000 293 | m_Automatic: 0 294 | - m_BuildTarget: iOSSupport 295 | m_APIs: 10000000 296 | m_Automatic: 1 297 | m_BuildTargetVRSettings: [] 298 | openGLRequireES31: 0 299 | openGLRequireES31AEP: 0 300 | openGLRequireES32: 0 301 | m_TemplateCustomTags: {} 302 | mobileMTRendering: 303 | Android: 1 304 | iPhone: 1 305 | tvOS: 1 306 | m_BuildTargetGroupLightmapEncodingQuality: [] 307 | m_BuildTargetGroupLightmapSettings: [] 308 | m_BuildTargetNormalMapEncoding: [] 309 | playModeTestRunnerEnabled: 0 310 | runPlayModeTestAsEditModeTest: 0 311 | actionOnDotNetUnhandledException: 1 312 | enableInternalProfiler: 0 313 | logObjCUncaughtExceptions: 1 314 | enableCrashReportAPI: 0 315 | cameraUsageDescription: 316 | locationUsageDescription: 317 | microphoneUsageDescription: 318 | switchNMETAOverride: 319 | switchNetLibKey: 320 | switchSocketMemoryPoolSize: 6144 321 | switchSocketAllocatorPoolSize: 128 322 | switchSocketConcurrencyLimit: 14 323 | switchScreenResolutionBehavior: 2 324 | switchUseCPUProfiler: 0 325 | switchUseGOLDLinker: 0 326 | switchApplicationID: 0x01004b9000490000 327 | switchNSODependencies: 328 | switchTitleNames_0: 329 | switchTitleNames_1: 330 | switchTitleNames_2: 331 | switchTitleNames_3: 332 | switchTitleNames_4: 333 | switchTitleNames_5: 334 | switchTitleNames_6: 335 | switchTitleNames_7: 336 | switchTitleNames_8: 337 | switchTitleNames_9: 338 | switchTitleNames_10: 339 | switchTitleNames_11: 340 | switchTitleNames_12: 341 | switchTitleNames_13: 342 | switchTitleNames_14: 343 | switchTitleNames_15: 344 | switchPublisherNames_0: 345 | switchPublisherNames_1: 346 | switchPublisherNames_2: 347 | switchPublisherNames_3: 348 | switchPublisherNames_4: 349 | switchPublisherNames_5: 350 | switchPublisherNames_6: 351 | switchPublisherNames_7: 352 | switchPublisherNames_8: 353 | switchPublisherNames_9: 354 | switchPublisherNames_10: 355 | switchPublisherNames_11: 356 | switchPublisherNames_12: 357 | switchPublisherNames_13: 358 | switchPublisherNames_14: 359 | switchPublisherNames_15: 360 | switchIcons_0: {fileID: 0} 361 | switchIcons_1: {fileID: 0} 362 | switchIcons_2: {fileID: 0} 363 | switchIcons_3: {fileID: 0} 364 | switchIcons_4: {fileID: 0} 365 | switchIcons_5: {fileID: 0} 366 | switchIcons_6: {fileID: 0} 367 | switchIcons_7: {fileID: 0} 368 | switchIcons_8: {fileID: 0} 369 | switchIcons_9: {fileID: 0} 370 | switchIcons_10: {fileID: 0} 371 | switchIcons_11: {fileID: 0} 372 | switchIcons_12: {fileID: 0} 373 | switchIcons_13: {fileID: 0} 374 | switchIcons_14: {fileID: 0} 375 | switchIcons_15: {fileID: 0} 376 | switchSmallIcons_0: {fileID: 0} 377 | switchSmallIcons_1: {fileID: 0} 378 | switchSmallIcons_2: {fileID: 0} 379 | switchSmallIcons_3: {fileID: 0} 380 | switchSmallIcons_4: {fileID: 0} 381 | switchSmallIcons_5: {fileID: 0} 382 | switchSmallIcons_6: {fileID: 0} 383 | switchSmallIcons_7: {fileID: 0} 384 | switchSmallIcons_8: {fileID: 0} 385 | switchSmallIcons_9: {fileID: 0} 386 | switchSmallIcons_10: {fileID: 0} 387 | switchSmallIcons_11: {fileID: 0} 388 | switchSmallIcons_12: {fileID: 0} 389 | switchSmallIcons_13: {fileID: 0} 390 | switchSmallIcons_14: {fileID: 0} 391 | switchSmallIcons_15: {fileID: 0} 392 | switchManualHTML: 393 | switchAccessibleURLs: 394 | switchLegalInformation: 395 | switchMainThreadStackSize: 1048576 396 | switchPresenceGroupId: 397 | switchLogoHandling: 0 398 | switchReleaseVersion: 0 399 | switchDisplayVersion: 1.0.0 400 | switchStartupUserAccount: 0 401 | switchTouchScreenUsage: 0 402 | switchSupportedLanguagesMask: 0 403 | switchLogoType: 0 404 | switchApplicationErrorCodeCategory: 405 | switchUserAccountSaveDataSize: 0 406 | switchUserAccountSaveDataJournalSize: 0 407 | switchApplicationAttribute: 0 408 | switchCardSpecSize: -1 409 | switchCardSpecClock: -1 410 | switchRatingsMask: 0 411 | switchRatingsInt_0: 0 412 | switchRatingsInt_1: 0 413 | switchRatingsInt_2: 0 414 | switchRatingsInt_3: 0 415 | switchRatingsInt_4: 0 416 | switchRatingsInt_5: 0 417 | switchRatingsInt_6: 0 418 | switchRatingsInt_7: 0 419 | switchRatingsInt_8: 0 420 | switchRatingsInt_9: 0 421 | switchRatingsInt_10: 0 422 | switchRatingsInt_11: 0 423 | switchRatingsInt_12: 0 424 | switchLocalCommunicationIds_0: 425 | switchLocalCommunicationIds_1: 426 | switchLocalCommunicationIds_2: 427 | switchLocalCommunicationIds_3: 428 | switchLocalCommunicationIds_4: 429 | switchLocalCommunicationIds_5: 430 | switchLocalCommunicationIds_6: 431 | switchLocalCommunicationIds_7: 432 | switchParentalControl: 0 433 | switchAllowsScreenshot: 1 434 | switchAllowsVideoCapturing: 1 435 | switchAllowsRuntimeAddOnContentInstall: 0 436 | switchDataLossConfirmation: 0 437 | switchUserAccountLockEnabled: 0 438 | switchSystemResourceMemory: 16777216 439 | switchSupportedNpadStyles: 22 440 | switchNativeFsCacheSize: 32 441 | switchIsHoldTypeHorizontal: 0 442 | switchSupportedNpadCount: 8 443 | switchSocketConfigEnabled: 0 444 | switchTcpInitialSendBufferSize: 32 445 | switchTcpInitialReceiveBufferSize: 64 446 | switchTcpAutoSendBufferSizeMax: 256 447 | switchTcpAutoReceiveBufferSizeMax: 256 448 | switchUdpSendBufferSize: 9 449 | switchUdpReceiveBufferSize: 42 450 | switchSocketBufferEfficiency: 4 451 | switchSocketInitializeEnabled: 1 452 | switchNetworkInterfaceManagerInitializeEnabled: 1 453 | switchPlayerConnectionEnabled: 1 454 | switchUseNewStyleFilepaths: 0 455 | ps4NPAgeRating: 12 456 | ps4NPTitleSecret: 457 | ps4NPTrophyPackPath: 458 | ps4ParentalLevel: 11 459 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 460 | ps4Category: 0 461 | ps4MasterVersion: 01.00 462 | ps4AppVersion: 01.00 463 | ps4AppType: 0 464 | ps4ParamSfxPath: 465 | ps4VideoOutPixelFormat: 0 466 | ps4VideoOutInitialWidth: 1920 467 | ps4VideoOutBaseModeInitialWidth: 1920 468 | ps4VideoOutReprojectionRate: 60 469 | ps4PronunciationXMLPath: 470 | ps4PronunciationSIGPath: 471 | ps4BackgroundImagePath: 472 | ps4StartupImagePath: 473 | ps4StartupImagesFolder: 474 | ps4IconImagesFolder: 475 | ps4SaveDataImagePath: 476 | ps4SdkOverride: 477 | ps4BGMPath: 478 | ps4ShareFilePath: 479 | ps4ShareOverlayImagePath: 480 | ps4PrivacyGuardImagePath: 481 | ps4ExtraSceSysFile: 482 | ps4NPtitleDatPath: 483 | ps4RemotePlayKeyAssignment: -1 484 | ps4RemotePlayKeyMappingDir: 485 | ps4PlayTogetherPlayerCount: 0 486 | ps4EnterButtonAssignment: 2 487 | ps4ApplicationParam1: 0 488 | ps4ApplicationParam2: 0 489 | ps4ApplicationParam3: 0 490 | ps4ApplicationParam4: 0 491 | ps4DownloadDataSize: 0 492 | ps4GarlicHeapSize: 2048 493 | ps4ProGarlicHeapSize: 2560 494 | playerPrefsMaxSize: 32768 495 | ps4Passcode: bi9UOuSpM2Tlh01vOzwvSikHFswuzleh 496 | ps4pnSessions: 1 497 | ps4pnPresence: 1 498 | ps4pnFriends: 1 499 | ps4pnGameCustomData: 1 500 | playerPrefsSupport: 0 501 | enableApplicationExit: 0 502 | resetTempFolder: 1 503 | restrictedAudioUsageRights: 0 504 | ps4UseResolutionFallback: 0 505 | ps4ReprojectionSupport: 0 506 | ps4UseAudio3dBackend: 0 507 | ps4UseLowGarlicFragmentationMode: 1 508 | ps4SocialScreenEnabled: 0 509 | ps4ScriptOptimizationLevel: 2 510 | ps4Audio3dVirtualSpeakerCount: 14 511 | ps4attribCpuUsage: 0 512 | ps4PatchPkgPath: 513 | ps4PatchLatestPkgPath: 514 | ps4PatchChangeinfoPath: 515 | ps4PatchDayOne: 0 516 | ps4attribUserManagement: 0 517 | ps4attribMoveSupport: 0 518 | ps4attrib3DSupport: 0 519 | ps4attribShareSupport: 0 520 | ps4attribExclusiveVR: 0 521 | ps4disableAutoHideSplash: 0 522 | ps4videoRecordingFeaturesUsed: 0 523 | ps4contentSearchFeaturesUsed: 0 524 | ps4CompatibilityPS5: 0 525 | ps4GPU800MHz: 1 526 | ps4attribEyeToEyeDistanceSettingVR: 0 527 | ps4IncludedModules: [] 528 | ps4attribVROutputEnabled: 0 529 | monoEnv: 530 | splashScreenBackgroundSourceLandscape: {fileID: 0} 531 | splashScreenBackgroundSourcePortrait: {fileID: 0} 532 | blurSplashScreenBackground: 1 533 | spritePackerPolicy: 534 | webGLMemorySize: 32 535 | webGLExceptionSupport: 1 536 | webGLNameFilesAsHashes: 0 537 | webGLDataCaching: 1 538 | webGLDebugSymbols: 0 539 | webGLEmscriptenArgs: 540 | webGLModulesDirectory: 541 | webGLTemplate: APPLICATION:Default 542 | webGLAnalyzeBuildSize: 0 543 | webGLUseEmbeddedResources: 0 544 | webGLCompressionFormat: 0 545 | webGLWasmArithmeticExceptions: 0 546 | webGLLinkerTarget: 1 547 | webGLThreadsSupport: 0 548 | webGLDecompressionFallback: 0 549 | scriptingDefineSymbols: {} 550 | additionalCompilerArguments: {} 551 | platformArchitecture: {} 552 | scriptingBackend: {} 553 | il2cppCompilerConfiguration: {} 554 | managedStrippingLevel: {} 555 | incrementalIl2cppBuild: {} 556 | suppressCommonWarnings: 1 557 | allowUnsafeCode: 0 558 | useDeterministicCompilation: 1 559 | useReferenceAssemblies: 1 560 | enableRoslynAnalyzers: 1 561 | additionalIl2CppArgs: 562 | scriptingRuntimeVersion: 1 563 | gcIncremental: 1 564 | assemblyVersionValidation: 1 565 | gcWBarrierValidation: 0 566 | apiCompatibilityLevelPerPlatform: {} 567 | m_RenderingPath: 1 568 | m_MobileRenderingPath: 1 569 | metroPackageName: 2D_BuiltInRenderer 570 | metroPackageVersion: 571 | metroCertificatePath: 572 | metroCertificatePassword: 573 | metroCertificateSubject: 574 | metroCertificateIssuer: 575 | metroCertificateNotAfter: 0000000000000000 576 | metroApplicationDescription: 2D_BuiltInRenderer 577 | wsaImages: {} 578 | metroTileShortName: 579 | metroTileShowName: 0 580 | metroMediumTileShowName: 0 581 | metroLargeTileShowName: 0 582 | metroWideTileShowName: 0 583 | metroSupportStreamingInstall: 0 584 | metroLastRequiredScene: 0 585 | metroDefaultTileSize: 1 586 | metroTileForegroundText: 2 587 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 588 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 589 | metroSplashScreenUseBackgroundColor: 0 590 | platformCapabilities: {} 591 | metroTargetDeviceFamilies: {} 592 | metroFTAName: 593 | metroFTAFileTypes: [] 594 | metroProtocolName: 595 | XboxOneProductId: 596 | XboxOneUpdateKey: 597 | XboxOneSandboxId: 598 | XboxOneContentId: 599 | XboxOneTitleId: 600 | XboxOneSCId: 601 | XboxOneGameOsOverridePath: 602 | XboxOnePackagingOverridePath: 603 | XboxOneAppManifestOverridePath: 604 | XboxOneVersion: 1.0.0.0 605 | XboxOnePackageEncryption: 0 606 | XboxOnePackageUpdateGranularity: 2 607 | XboxOneDescription: 608 | XboxOneLanguage: 609 | - enus 610 | XboxOneCapability: [] 611 | XboxOneGameRating: {} 612 | XboxOneIsContentPackage: 0 613 | XboxOneEnhancedXboxCompatibilityMode: 0 614 | XboxOneEnableGPUVariability: 1 615 | XboxOneSockets: {} 616 | XboxOneSplashScreen: {fileID: 0} 617 | XboxOneAllowedProductIds: [] 618 | XboxOnePersistentLocalStorageSize: 0 619 | XboxOneXTitleMemory: 8 620 | XboxOneOverrideIdentityName: 621 | XboxOneOverrideIdentityPublisher: 622 | vrEditorSettings: {} 623 | cloudServicesEnabled: {} 624 | luminIcon: 625 | m_Name: 626 | m_ModelFolderPath: 627 | m_PortalFolderPath: 628 | luminCert: 629 | m_CertPath: 630 | m_SignPackage: 1 631 | luminIsChannelApp: 0 632 | luminVersion: 633 | m_VersionCode: 1 634 | m_VersionName: 635 | apiCompatibilityLevel: 6 636 | activeInputHandler: 0 637 | cloudProjectId: 638 | framebufferDepthMemorylessMode: 0 639 | qualitySettingsNames: [] 640 | projectName: 641 | organizationId: 642 | cloudEnabled: 0 643 | legacyClampBlendShapeWeights: 0 644 | virtualTexturingSupportEnabled: 0 645 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2020.3.16f1 2 | m_EditorVersionWithRevision: 2020.3.16f1 (049d6eca3c44) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | customRenderPipeline: {fileID: 0} 44 | excludedTargetPlatforms: [] 45 | - serializedVersion: 2 46 | name: Low 47 | pixelLightCount: 0 48 | shadows: 0 49 | shadowResolution: 0 50 | shadowProjection: 1 51 | shadowCascades: 1 52 | shadowDistance: 20 53 | shadowNearPlaneOffset: 3 54 | shadowCascade2Split: 0.33333334 55 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 56 | shadowmaskMode: 0 57 | skinWeights: 2 58 | textureQuality: 0 59 | anisotropicTextures: 0 60 | antiAliasing: 0 61 | softParticles: 0 62 | softVegetation: 0 63 | realtimeReflectionProbes: 0 64 | billboardsFaceCameraPosition: 0 65 | vSyncCount: 0 66 | lodBias: 0.4 67 | maximumLODLevel: 0 68 | streamingMipmapsActive: 0 69 | streamingMipmapsAddAllCameras: 1 70 | streamingMipmapsMemoryBudget: 512 71 | streamingMipmapsRenderersPerFrame: 512 72 | streamingMipmapsMaxLevelReduction: 2 73 | streamingMipmapsMaxFileIORequests: 1024 74 | particleRaycastBudget: 16 75 | asyncUploadTimeSlice: 2 76 | asyncUploadBufferSize: 16 77 | asyncUploadPersistentBuffer: 1 78 | resolutionScalingFixedDPIFactor: 1 79 | customRenderPipeline: {fileID: 0} 80 | excludedTargetPlatforms: [] 81 | - serializedVersion: 2 82 | name: Medium 83 | pixelLightCount: 1 84 | shadows: 1 85 | shadowResolution: 0 86 | shadowProjection: 1 87 | shadowCascades: 1 88 | shadowDistance: 20 89 | shadowNearPlaneOffset: 3 90 | shadowCascade2Split: 0.33333334 91 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 92 | shadowmaskMode: 0 93 | skinWeights: 2 94 | textureQuality: 0 95 | anisotropicTextures: 1 96 | antiAliasing: 0 97 | softParticles: 0 98 | softVegetation: 0 99 | realtimeReflectionProbes: 0 100 | billboardsFaceCameraPosition: 0 101 | vSyncCount: 1 102 | lodBias: 0.7 103 | maximumLODLevel: 0 104 | streamingMipmapsActive: 0 105 | streamingMipmapsAddAllCameras: 1 106 | streamingMipmapsMemoryBudget: 512 107 | streamingMipmapsRenderersPerFrame: 512 108 | streamingMipmapsMaxLevelReduction: 2 109 | streamingMipmapsMaxFileIORequests: 1024 110 | particleRaycastBudget: 64 111 | asyncUploadTimeSlice: 2 112 | asyncUploadBufferSize: 16 113 | asyncUploadPersistentBuffer: 1 114 | resolutionScalingFixedDPIFactor: 1 115 | customRenderPipeline: {fileID: 0} 116 | excludedTargetPlatforms: [] 117 | - serializedVersion: 2 118 | name: High 119 | pixelLightCount: 2 120 | shadows: 2 121 | shadowResolution: 1 122 | shadowProjection: 1 123 | shadowCascades: 2 124 | shadowDistance: 40 125 | shadowNearPlaneOffset: 3 126 | shadowCascade2Split: 0.33333334 127 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 128 | shadowmaskMode: 1 129 | skinWeights: 2 130 | textureQuality: 0 131 | anisotropicTextures: 1 132 | antiAliasing: 0 133 | softParticles: 0 134 | softVegetation: 1 135 | realtimeReflectionProbes: 1 136 | billboardsFaceCameraPosition: 1 137 | vSyncCount: 1 138 | lodBias: 1 139 | maximumLODLevel: 0 140 | streamingMipmapsActive: 0 141 | streamingMipmapsAddAllCameras: 1 142 | streamingMipmapsMemoryBudget: 512 143 | streamingMipmapsRenderersPerFrame: 512 144 | streamingMipmapsMaxLevelReduction: 2 145 | streamingMipmapsMaxFileIORequests: 1024 146 | particleRaycastBudget: 256 147 | asyncUploadTimeSlice: 2 148 | asyncUploadBufferSize: 16 149 | asyncUploadPersistentBuffer: 1 150 | resolutionScalingFixedDPIFactor: 1 151 | customRenderPipeline: {fileID: 0} 152 | excludedTargetPlatforms: [] 153 | - serializedVersion: 2 154 | name: Very High 155 | pixelLightCount: 3 156 | shadows: 2 157 | shadowResolution: 2 158 | shadowProjection: 1 159 | shadowCascades: 2 160 | shadowDistance: 70 161 | shadowNearPlaneOffset: 3 162 | shadowCascade2Split: 0.33333334 163 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 164 | shadowmaskMode: 1 165 | skinWeights: 4 166 | textureQuality: 0 167 | anisotropicTextures: 2 168 | antiAliasing: 2 169 | softParticles: 1 170 | softVegetation: 1 171 | realtimeReflectionProbes: 1 172 | billboardsFaceCameraPosition: 1 173 | vSyncCount: 1 174 | lodBias: 1.5 175 | maximumLODLevel: 0 176 | streamingMipmapsActive: 0 177 | streamingMipmapsAddAllCameras: 1 178 | streamingMipmapsMemoryBudget: 512 179 | streamingMipmapsRenderersPerFrame: 512 180 | streamingMipmapsMaxLevelReduction: 2 181 | streamingMipmapsMaxFileIORequests: 1024 182 | particleRaycastBudget: 1024 183 | asyncUploadTimeSlice: 2 184 | asyncUploadBufferSize: 16 185 | asyncUploadPersistentBuffer: 1 186 | resolutionScalingFixedDPIFactor: 1 187 | customRenderPipeline: {fileID: 0} 188 | excludedTargetPlatforms: [] 189 | - serializedVersion: 2 190 | name: Ultra 191 | pixelLightCount: 4 192 | shadows: 2 193 | shadowResolution: 2 194 | shadowProjection: 1 195 | shadowCascades: 4 196 | shadowDistance: 150 197 | shadowNearPlaneOffset: 3 198 | shadowCascade2Split: 0.33333334 199 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 200 | shadowmaskMode: 1 201 | skinWeights: 255 202 | textureQuality: 0 203 | anisotropicTextures: 2 204 | antiAliasing: 2 205 | softParticles: 1 206 | softVegetation: 1 207 | realtimeReflectionProbes: 1 208 | billboardsFaceCameraPosition: 1 209 | vSyncCount: 1 210 | lodBias: 2 211 | maximumLODLevel: 0 212 | streamingMipmapsActive: 0 213 | streamingMipmapsAddAllCameras: 1 214 | streamingMipmapsMemoryBudget: 512 215 | streamingMipmapsRenderersPerFrame: 512 216 | streamingMipmapsMaxLevelReduction: 2 217 | streamingMipmapsMaxFileIORequests: 1024 218 | particleRaycastBudget: 4096 219 | asyncUploadTimeSlice: 2 220 | asyncUploadBufferSize: 16 221 | asyncUploadPersistentBuffer: 1 222 | resolutionScalingFixedDPIFactor: 1 223 | customRenderPipeline: {fileID: 0} 224 | excludedTargetPlatforms: [] 225 | m_PerPlatformDefaultQuality: 226 | Android: 2 227 | Lumin: 5 228 | Nintendo Switch: 5 229 | PS4: 5 230 | Stadia: 5 231 | Standalone: 5 232 | WebGL: 3 233 | Windows Store Apps: 5 234 | XboxOne: 5 235 | iPhone: 2 236 | tvOS: 2 237 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity.cn 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # unity-websocket-server 2 | A simple, zero-dependency WebSocket server for Unity. 3 | 4 | ## Usage 5 | First import the package and set up the scene: 6 | * Download the UnityPackage from the [Releases page](https://github.com/shaunabanana/unity-websocket-server/releases). Import. 7 | * Create an empty GameObject, assign the script `WebSocketServer.cs`. 8 | * Alternatively, if you're using inheritance, assign your own script. 9 | * Input the IP and port of the server. 10 | 11 | ### In Inspector GUI 12 | The easiest way is to use the inspector. Add callbacks to the `onOpen`, `onMessage`, or `onClose` UnityEvent. 13 | 14 | ### Using class inheritance 15 | Alternatively, you can inherit from `WebSocketServer`. The following code shows you how: 16 | ```csharp 17 | using WebSocketServer; 18 | 19 | public class MyWebSocketServer: WebSocketServer { 20 | 21 | override public void OnOpen(WebSocketConnection connection) { 22 | // Here, (string)connection.id gives you a unique ID to identify the client. 23 | Debug.Log(connection.id); 24 | } 25 | 26 | override public void OnMessage(WebSocketMessage message) { 27 | // (WebSocketConnection)message.connection gives you the connection that send the message. 28 | // (string)message.id gives you a unique ID for the message. 29 | // (string)message.data gives you the message content. 30 | Debug.Log(message.connection.id); 31 | Debug.Log(message.id); 32 | Debug.Log(message.data); 33 | } 34 | 35 | override public void OnClose(WebSocketConnection connection) { 36 | // Here is the same as OnOpen 37 | Debug.Log(connection.id); 38 | } 39 | 40 | } 41 | 42 | ``` 43 | 44 | ## Tested on 45 | > If you find this script works/doesn't work for you, please let me know by creating an [issue](https://github.com/shaunabanana/unity-websocket-server/issues) or emailing me at shengchenzhang1207@gmail.com. 46 | > Also, if there's a feature you want added, there's a template for that as well in the issues. 47 | 48 | **Unity versions** 49 | * 2020.3 50 | 51 | **System versions** 52 | * macOS Big Sur (11.2.3) 53 | -------------------------------------------------------------------------------- /UserSettings/EditorUserSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!162 &1 4 | EditorUserSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ConfigSettings: 8 | RecentlyUsedScenePath-0: 9 | value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d 10 | flags: 0 11 | vcSharedLogLevel: 12 | value: 0d5e400f0650 13 | flags: 0 14 | m_VCAutomaticAdd: 1 15 | m_VCDebugCom: 0 16 | m_VCDebugCmd: 0 17 | m_VCDebugOut: 0 18 | m_SemanticMergeMode: 2 19 | m_VCShowFailedCheckout: 1 20 | m_VCOverwriteFailedCheckoutAssets: 1 21 | m_VCProjectOverlayIcons: 1 22 | m_VCHierarchyOverlayIcons: 1 23 | m_VCOtherOverlayIcons: 1 24 | m_VCAllowAsyncUpdate: 1 25 | --------------------------------------------------------------------------------