Skip to content

Commit 99f180b

Browse files
committed
change: use dependency 'org.nuget.system.runtime.compilerservices.unsafe'
- stop to use 'com.system-community.systemruntimecompilerservicesunsafe' - related: #46
1 parent 3da8fb9 commit 99f180b

File tree

4 files changed

+33
-28
lines changed

4 files changed

+33
-28
lines changed

unity_project/Assets/unity.webp/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@
66
"description": "webp made easy for Unity3d.",
77
"keywords": ["webp","unity.webp"],
88
"license": "MIT",
9-
"category": "image",
10-
"dependencies": {
11-
"com.system-community.systemruntimecompilerservicesunsafe": "6.0.0"
12-
}
9+
"category": "image"
1310
}

unity_project/Packages/manifest.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@
3939
"com.unity.modules.vr": "1.0.0",
4040
"com.unity.modules.wind": "1.0.0",
4141
"com.unity.modules.xr": "1.0.0",
42-
"com.system-community.systemruntimecompilerservicesunsafe": "https://github.com/system-community/SystemRuntimeCompilerServicesUnsafe.git?path=Assets/_Root#6.0.0"
43-
}
42+
"org.nuget.system.runtime.compilerservices.unsafe": "6.0.0"
43+
},
44+
"scopedRegistries": [
45+
{
46+
"name": "Unity NuGet",
47+
"url": "https://unitynuget-registry.azurewebsites.net",
48+
"scopes": [
49+
"org.nuget"
50+
]
51+
}
52+
]
4453
}

unity_project/Packages/packages-lock.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
22
"dependencies": {
3-
"com.system-community.systemruntimecompilerservicesunsafe": {
4-
"version": "https://github.com/system-community/SystemRuntimeCompilerServicesUnsafe.git?path=Assets/_Root#6.0.0",
5-
"depth": 0,
6-
"source": "git",
7-
"dependencies": {},
8-
"hash": "85fa84e534a422b09e7f1f334735e73215cb17f5"
9-
},
103
"com.unity.2d.sprite": {
114
"version": "1.0.0",
125
"depth": 0,
@@ -80,6 +73,13 @@
8073
"com.unity.modules.imgui": "1.0.0"
8174
}
8275
},
76+
"org.nuget.system.runtime.compilerservices.unsafe": {
77+
"version": "6.0.0",
78+
"depth": 0,
79+
"source": "registry",
80+
"dependencies": {},
81+
"url": "https://unitynuget-registry.azurewebsites.net"
82+
},
8383
"com.unity.modules.ai": {
8484
"version": "1.0.0",
8585
"depth": 0,

unity_project/ProjectSettings/PackageManagerSettings.asset

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ MonoBehaviour:
1212
m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
1313
m_Name:
1414
m_EditorClassIdentifier:
15-
m_EnablePreviewPackages: 0
15+
m_EnablePreReleasePackages: 0
1616
m_EnablePackageDependencies: 0
1717
m_AdvancedSettingsExpanded: 1
1818
m_ScopedRegistriesSettingsExpanded: 1
19+
m_SeeAllPackageVersions: 0
1920
oneTimeWarningShown: 0
2021
m_Registries:
2122
- m_Id: main
@@ -24,20 +25,18 @@ MonoBehaviour:
2425
m_Scopes: []
2526
m_IsDefault: 1
2627
m_Capabilities: 7
27-
m_UserSelectedRegistryName:
28+
- m_Id: scoped:Unity NuGet
29+
m_Name: Unity NuGet
30+
m_Url: https://unitynuget-registry.azurewebsites.net
31+
m_Scopes:
32+
- org.nuget
33+
m_IsDefault: 0
34+
m_Capabilities: 0
35+
m_UserSelectedRegistryName: Unity NuGet
2836
m_UserAddingNewScopedRegistry: 0
2937
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
3838
m_Modified: 0
39-
m_Name:
40-
m_Url:
41-
m_Scopes:
42-
-
43-
m_SelectedScopeIndex: 0
39+
m_ErrorMessage:
40+
m_UserModificationsInstanceId: -828
41+
m_OriginalInstanceId: -830
42+
m_LoadAssets: 0

0 commit comments

Comments
 (0)