Skip to content

Commit 0513816

Browse files
authored
UAS Package (#162)
1 parent 531f71a commit 0513816

File tree

365 files changed

+19460
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+19460
-0
lines changed
Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
# Changelog
2+
All notable changes to this package will be documented in this file.
3+
4+
## [11.4.0] - 2024-01-23
5+
6+
### Uploader Changes
7+
- Added prevention of uploading packages larger than 6 GB
8+
- Added a prompt to allow automatically generating meta files within hidden folders
9+
- Fixed some obsolete API usage warnings in newer Unity versions
10+
11+
### Validator Changes
12+
- Added validation tests for:
13+
- Animation Clip take names
14+
- Model import logs
15+
- Uncompressed Package size
16+
- Updated the fail severity of Audio Clipping validation test
17+
- Updated the Demo Scene test to treat default scenes with custom skyboxes as valid demo scenes
18+
- Fixed some obsolete API usage warnings in newer Unity versions
19+
20+
### Other
21+
- Added an option to check for Asset Store Publishing Tools updates
22+
23+
## [11.3.1] - 2023-08-14
24+
25+
### Uploader Changes
26+
- Added the option to select indirect package dependencies from the project (e.g. Mathematics package installed by the Burst package)
27+
28+
### Validator Changes
29+
- Updated the Texture Dimensions test to ignore 'Sprite' and 'Editor GUI' texture types
30+
31+
### Exporter Changes
32+
- Updated exporter to ignore the 'ProjectSettings/ProjectVersion.txt' asset when exporting 'Complete Project' category packages
33+
34+
## [11.3.0] - 2023-07-04
35+
36+
### Uploader Changes
37+
38+
- Added the option to validate a pre-exported package
39+
- Added the option to export a .unitypackage file without uploading
40+
- Updated the dependency selection UI
41+
42+
### Validator Changes
43+
44+
- Added the option to validate several asset paths at once
45+
- Note: when validating package that is comprised of several folders (e.g. Assets/MyPackage +
46+
Assets/StreamingAssets + Assets/WebGLTemplates), please select all applicable paths that would be included in the package
47+
- Added several new validation tests for:
48+
- File Menu Names
49+
- Compressed files
50+
- Model Types
51+
- Texture Dimensions
52+
- Particle Systems
53+
- Normal Map Textures
54+
- Audio Clipping
55+
- Path Lengths
56+
- Script Compilation
57+
- Updated validation test severities based on package category
58+
- Updated validation tests to each have their own test logic class
59+
- Updated validation tests to be displayed in alphabetical order
60+
- Fixed several issues with the namespace check test
61+
- Fixed scenes in Samples~ folders not being taken into account for the sample scene check test
62+
- Other internal changes
63+
64+
### Exporter Changes
65+
66+
- Package exporter is now a separate module (similar to Uploader and Validator)
67+
- Fixed hidden folders being included when exporting package content
68+
- Note: this prevents an issue with the Unity Editor, where exported hidden folders would appear in the Project window
69+
as empty folders when imported, despite having content on disk. Content nested within hidden folders is still collected,
70+
provided it contains unique .meta files
71+
72+
## [11.2.2] - 2023-02-23
73+
74+
### Validator Changes
75+
76+
- Updated the 'LOD Setup' test to address some issues
77+
- Added additional checks for LOD renderers (inactive renderer check, LOD Group reference check, relative hierarchy position to LOD Group check)
78+
- LOD Group Component is no longer required to be on the root of the Prefab
79+
- Updated the test result message interface when invalid Prefabs are found
80+
81+
## [11.2.1] - 2023-01-17
82+
83+
### Uploader Changes
84+
85+
- Added a more informative error when exporting content with clashing guid meta files in hidden folders
86+
- Fixed a compilation issue for Unity 2020.1 and 2020.2
87+
- Fixed a rare error condition when queueing multiple package uploads in quick succession
88+
- Fixed Asset Store Uploader state not being properly reset if the uploading process fails
89+
90+
### Validator Changes
91+
92+
- Updated the Asset Store Validator description
93+
- Fixed a rare memory overflow issue when performing package validation
94+
95+
## [11.2.0] - 2022-11-03
96+
97+
### Uploader Changes
98+
99+
- Uploader will now use the custom package exporter by default
100+
- An option to use the legacy (native) exporter can be found in the Asset Store Publishing Tools' settings window
101+
- When exporting from the Assets folder, package dependencies can now be selected individually instead of being a choice between 'All' or 'None'
102+
- This option is only available with the custom exporter
103+
- Changed the way the Uploader reports completed uploading tasks
104+
- Modal pop-up has been replaced by a new UI view state
105+
- Added an option to the Asset Store Publishing Tools' Settings to display the pop-up after a completed upload
106+
- Changed exported .unitypackage files to have distinguishable file names
107+
- Fixed the Uploader window indefinitely stalling at 100% upload progress when a response from the Asset Store server is not received
108+
- Fixed native package exporter producing broken packages when the export path contained hidden folders
109+
- Fixed an issue with high CPU usage when uploading packages
110+
- Fixed Asset Store Publishing Tools' settings not being saved between Editor sessions on macOS
111+
- Other minor changes and tweaks
112+
113+
### Validator Changes
114+
115+
- Added two new tests:
116+
- 'Types have namespaces': checks whether scripts and native libraries under the validated path are nested under a namespace
117+
- 'Consistent line endings': checks whether scripts under the validated path have consistent line endings. This is similar to the warning from the Unity Editor compilation pipeline when a script contains both Windows and UNIX line endings.
118+
- Improved 'Reset Prefabs' test to display and be more informative about prefabs with unusually low transform values
119+
- Improved 'SpeedTree asset inclusion' test to search for '.st' files
120+
- Improved 'Documentation inclusion' test to treat '.md' files as valid documentation files
121+
- Improved 'Lossy audio file inclusion' test to treat '.aif' and '.aiff' files as valid non-lossy audio files
122+
- Improved 'Lossy audio file inclusion' test to search the project for non-lossy variants of existing lossy audio files
123+
- Removed 'Duplicate animation names' test
124+
- Tweaked validation severities for several tests
125+
- Other minor changes and tweaks
126+
127+
## [11.1.0] - 2022-09-14
128+
129+
### Uploader Changes
130+
131+
- Package Publisher Portal links can now be opened for all packages regardless of package status
132+
- External Dependency Manager can now be selected as a 'Special Folder' if found in the root Assets folder
133+
134+
### Validator Changes
135+
136+
- Added category selection for the Validator
137+
- Categories help determine the outcome of package validation more accurately. For example, documentation is not crucial for art packages, but is required for tooling packages.
138+
- Added a list of prefabs with missing mesh references to 'Meshes have Prefabs' test when the test fails
139+
- Corrected the message for a passing 'Shader compilation errors' test
140+
- Improved the floating point precision accuracy of 'Reset Prefabs' test
141+
- Fixed 'Missing Components in Assets' test checking all project folders instead of only the set path
142+
- Fixed 'Prefabs for meshes' test not checking meshes in certain paths
143+
- Fixed 'Reset Prefabs' test failing because of Prefabs with a Rect Transform Component
144+
- Fixed 'Reset Prefabs' test ignoring Transform rotation
145+
- Fixed test description text overlapping in some cases
146+
- Other minor changes and tweaks
147+
148+
## [11.0.2] - 2022-08-09
149+
150+
- Corrected some namespaces which were causing issues when deriving classes from Editor class
151+
152+
## [11.0.1] - 2022-08-05
153+
154+
### Uploader Changes
155+
156+
- Added Settings window (Asset Store Tools > Settings)
157+
- Added Soft/Junction Symlink support (enable through Settings)
158+
- Added workflow and path selection serialization (workflow saved locally, paths locally and online)
159+
- No more logs when using the `-nullable` compiler option (thanks @alfish)
160+
- Some API refactoring in preparation for CLI support
161+
- Other minor fixes/improvements
162+
163+
**Note:** when updating Asset Store Tools from the Package Manager, don't forget to remove the old version from the project (V11.0.0) before importing the new one (V11.0.1)
164+
165+
166+
## [11.0.0] - 2022-07-20
167+
168+
### Uploader changes
169+
170+
- UI has been reworked using UI Toolkit
171+
- New login window, allowing to login using Unity Cloud Services
172+
- Improved top bar, including search and sorting
173+
- Draft packages moved to the top
174+
- Added category, size, and last modified date next to the package
175+
- Added a link to the publishing portal next to the package
176+
- New uploading flow: “Pre-exported .unitypackage”
177+
- Previous uploading flow (folder selection) has been renamed to “From Assets Folder”
178+
- Dependencies check has been renamed to “Include Package Manifest” for clarity
179+
- Special Folders can now be selected and uploaded together with the package’s main folder (i.e. StreamingAssets, Plugins)
180+
- You can now upload to multiple packages at the same time without waiting for the first one to finish
181+
- Package can now be validated in the Uploading window by pressing the “Validate” button
182+
- Added refresh and logout buttons to the bottom toolbar for easier access
183+
- Packages caching - package information will no longer be redownloaded every time you open the Uploader window during the same Editor session
184+
- (Experimental) Custom exporter - will export your package ~2 times faster, but may miss some asset previews in the final product. To enable it - click three dots on the top left side of the window and enable “Use Custom Exporting”
185+
186+
187+
### Validator changes
188+
189+
- UI has been reworked using UI Toolkit
190+
- New tests based on the new guidelines
191+
- Updated tests’ titles, descriptions, and error reporting
192+
193+
## [5.0.5] - 2021-11-04
194+
195+
- Fixed namespace issues
196+
197+
## [5.0.4] - 2020-07-28
198+
199+
- Fixed issues with Unity 2020.1
200+
201+
## [5.0.3] - 2020-05-07
202+
203+
- Remove "Remove Standard Assets" check
204+
205+
## [5.0.2] - 2020-04-21
206+
207+
- Enable auto login with Unity account
208+
- Upload package with thread
209+
210+
## [5.0.1] - 2020-03-23
211+
212+
- Fix domain resolve issue
213+
214+
## [5.0.0] - 2019-10-09
215+
216+
- Added "Package Validator" tool
217+
- Added Help window
218+
- Added logout confirmation popup
219+
- Updated toolbar menu layout
220+
- Removed "Mass Labeler" tool
221+
- Updated layout of Login and Package Upload windows
222+
- Error messages are now more elaborate and user-friendly
223+
- Removed deprecated "Main Assets" step from the Package Upload window
224+
- Package Upload window now has a step for including package manager dependencies
225+
- Tooltips are now added to each upload process step
226+
227+
228+
## [4.1.0] - 2018-05-14
229+
230+
- Made Tool compatible with 2017.1
231+
232+
## [4.0.7] - 2017-07-10
233+
234+
- Tweaked menu items.
235+
236+
## [4.0.6] - 2016-07-15
237+
238+
- Improved error messages.
239+
240+
## [4.0.5] - 2016-03-17
241+
242+
- Enabling upload of fbm files.
243+
244+
## [4.0.4] - 2015-11-16
245+
246+
- Login improvements
247+
248+
## [4.0.3] - 2015-11-16
249+
250+
- Prepare the Tools for Unity 5.3
251+
252+
## [4.0.2] - 2015-10-23
253+
254+
- Fixed issue where Upload button would not work for some projects.
255+
- Fixed issues for publishers that only had one package.
256+
257+
## [4.0.0] - 2015-09-01
258+
259+
- Replaced Package Manager with Package Upload. Package management is now handled by Publisher Administration

Packages/com.unity.asset-store-tools/CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Packages/com.unity.asset-store-tools/Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
using System.Runtime.CompilerServices;
2+
[assembly: InternalsVisibleTo("Unity.AssetStoreTools.Editor.Tests.asmdef")]
3+
[assembly: InternalsVisibleTo("ab-builder")]

Packages/com.unity.asset-store-tools/Editor/AssemblyInfo.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
using UnityEditor;
2+
using UnityEngine;
3+
using System;
4+
using AssetStoreTools.Uploader;
5+
using AssetStoreTools.Validator;
6+
using AssetStoreTools.Utility;
7+
8+
namespace AssetStoreTools
9+
{
10+
internal class AssetStoreTools : EditorWindow
11+
{
12+
[MenuItem("Asset Store Tools/Asset Store Uploader", false, 0)]
13+
public static void ShowAssetStoreToolsUploader()
14+
{
15+
Type inspectorType = Type.GetType("UnityEditor.InspectorWindow,UnityEditor.dll");
16+
var wnd = GetWindow<AssetStoreUploader>(inspectorType);
17+
wnd.Show();
18+
}
19+
20+
21+
[MenuItem("Asset Store Tools/Asset Store Validator", false, 1)]
22+
public static void ShowAssetStoreToolsValidator()
23+
{
24+
Type inspectorType = Type.GetType("UnityEditor.InspectorWindow,UnityEditor.dll");
25+
var wnd = GetWindow<AssetStoreValidator>(typeof(AssetStoreUploader), inspectorType);
26+
wnd.Show();
27+
}
28+
29+
[MenuItem("Asset Store Tools/Publisher Portal", false, 20)]
30+
public static void OpenPublisherPortal()
31+
{
32+
Application.OpenURL("https://publisher.unity.com/");
33+
}
34+
35+
[MenuItem("Asset Store Tools/Submission Guidelines", false, 21)]
36+
public static void OpenSubmissionGuidelines()
37+
{
38+
Application.OpenURL("https://assetstore.unity.com/publishing/submission-guidelines/");
39+
}
40+
41+
[MenuItem("Asset Store Tools/Provide Feedback", false, 22)]
42+
public static void OpenFeedback()
43+
{
44+
Application.OpenURL("https://forum.unity.com/threads/new-asset-store-tools-version-coming-july-20th-2022.1310939/");
45+
}
46+
47+
[MenuItem("Asset Store Tools/Check for Updates", false, 45)]
48+
public static void OpenUpdateChecker()
49+
{
50+
var wnd = GetWindowWithRect<ASToolsUpdater>(new Rect(Screen.width / 2, Screen.height / 2, 400, 150), true);
51+
wnd.Show();
52+
}
53+
54+
[MenuItem("Asset Store Tools/Settings", false, 50)]
55+
public static void OpenSettings()
56+
{
57+
ASToolsPreferencesProvider.OpenSettings();
58+
}
59+
}
60+
}

Packages/com.unity.asset-store-tools/Editor/AssetStoreTools.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using UnityEditor;
2+
using UnityEngine;
3+
4+
namespace AssetStoreTools
5+
{
6+
internal abstract class AssetStoreToolsWindow : EditorWindow
7+
{
8+
protected abstract string WindowTitle { get; }
9+
10+
protected virtual void Init()
11+
{
12+
titleContent = new GUIContent(WindowTitle);
13+
}
14+
15+
private void OnEnable()
16+
{
17+
Init();
18+
}
19+
20+
}
21+
}

0 commit comments

Comments
 (0)