Testing in this area focuses on the functionality of:
Test guidance will sometimes note specific issues to watch for. The common issues below should be watched for through all testing, even if unrelated to the current workflow being tested.
Description: Testing in this area will focus on Asset Processor and Asset Processor Batch usage.
Project Requirements: Any project with available source files can be used.
Resources:
Asset Processor Interface
Asset Processor Configuration
Product: Successfully processed assets are in cache and visible in the Asset Browser.
Suggested Time Box: 20 Minutes
Workflow | Requests | Things to Watch For |
---|---|---|
Launch Asset Processor |
|
|
Add new assets to the project |
|
|
Open new asset Job Log from Jobs tab right-click context menu |
|
|
Open new asset in Asset Browser from Jobs tab right-click context menu |
|
|
Workflow | Requests | Things to Watch For |
---|---|---|
From Jobs tab jump to source asset from right-click context menu |
|
|
Jump to a product asset from selected asset's right-click context menu |
|
|
Jump back to Source Asset from selected asset's info panel "Source Asset" button |
|
|
Reprocess asset from selected Source Asset's right-click context menu |
|
|
Open file in Explorer from selected asset's right-click context menu |
|
|
Project Requirements
cmake --build build/<build folder name> --target AssetProcessorBatch --config profile
command from the root engine folder.Product: Files modified via Asset Processor Batch.
Suggested Time Box: 10 Minutes
Workflow | Requests | Things to Watch For |
---|---|---|
Prepare Command Line to execute Asset Processor Batch commands |
|
|
Delete an asset |
|
|
Rename an asset |
|
|
Move an asset |
|
|
Description: Testing in this area will focus on XMLSchema as well as Source, Product and Job Dependencies scanning.
Project Requirements:
Font.xmlschema
along with Engine/Fonts/
(on Pre-built SDK engine their paths are o3de-install/Assets/Engine/Schema/Font.xmlschema
and o3de-install/Assets/Fonts/
respectively) assets could be used.Platforms:
Product: An XMLSchema file scanned for missing dependencies.
Suggested Time Box: 20 Minutes | Workflow | Requests | Things to Watch For | |----------|----------|---------------------| | Perform scan for missing dependencies with none missing |
.xmlschema
file (for example pc/schema/font.xmlschema
).C:\o3de-install\bin\Windows\profile\Default\
) and run the AssetProcessorBatch command to scan for the missing dependencies for the fonts (for example AssetProcessorBatch --project-path=C:\Users\<user>\O3DE\Projects\<project> --zeroAnalysisMode --dsp=%fonts%.xml
)..xmlschema
asset can be found in the Asset Processor.No missing dependencies found
after clicking the Scan file button.Missing dependency:
lines under each Scanning for missing dependencies:
line in the CLI..xmlschema
file out of it's original path (for example o3de-install/Assets/Engine/Schema/Font.xmlschema
)..xml
asset that was dependent on the removed .xmlschema
asset (for example pc/font/vera-italic.xml
).C:\o3de-install\bin\Windows\profile\Default\
) and run the AssetProcessorBatch command to scan for the missing dependencies for the fonts (for example AssetProcessorBatch --project-path=C:\Users\<user>\O3DE\Projects\<project> --zeroAnalysisMode --dsp=%fonts%.xml
)..xmlschema
file back to it's original path for any further use..xml
asset can be found in the Asset Processor.Vera-italic.ttf
in the case of vera-italic.xml
).Missing dependency:
lines under each Scanning for missing dependencies:
line in the CLI.Project Requirements:
Platforms:
Product: Scanned project cache and assets with dependencies verified to be displayed in the Asset Processor.
Suggested Time Box: 20 Minutes | Workflow | Requests | Things to Watch For | |----------|----------|---------------------| | Perform an Asset Processor Scan |
engine.json
).materials/reflectionprobe/reflectionprobevisualization_generated.materialtype
).pc/fonts/vera-italic.font
).Description: Testing in this Area will focus on connecting and working with Perforce (p4) as a source control tool.
Project Requirements:
Platforms:
Product: Assets that are shared on p4 server.
Suggested Time Box: 60 Minutes
Workflow | Requests | Things to Watch For |
---|---|---|
Enable Source Control plugin |
|
|
Configure connection settings |
|
|
Add asset to depot |
|
|
Check Out asset |
|
|
Reverting changes |
|
|
Getting last version |
|
|
Workflow | Requests | Things to Watch For |
---|---|---|
Creating a shared folder that will store Cache and be accessible over the network |
|
|
Project Requirements
Editor Platforms:
Product: Working Asset Cache Server (Shared Cache)
Suggested Time Box: 15 minutes per platform.
Workflow | Requests | Things to Watch For |
---|---|---|
Set shared cache mode |
|
|
Select the transfer directory via *Select a remote folder* |
|
|
Manage shared cache patterns |
|
|
Save Changes |
|
|
Workflow | Requests | Things to Watch For |
---|---|---|
Set shared cache mode to Server |
|
|
Select the transfer directory via *Select a remote folder* |
|
|
Add a Wildcard Pattern |
|
|
Add a RegEx Pattern |
|
|
Save Changes |
|
|
Project Requirements
Editor Platforms:
Docs:
Product: Asset Processor retrieving archive product assets from a remote folder.
Suggested Time Box: 30 minutes per platform.
Workflow | Requests | Things to Watch For |
---|---|---|
Set shared cache mode to Client |
|
|
Select the transfer directory via *Select a remote folder* |
|
|
Add a Wildcard Pattern |
|
|
Add a RegEx Pattern |
|
|
Save Changes |
|
|
Description: Testing in this area should focus on finding presence of missing dependencies.
Test guidance will sometimes note specific issues to watch for. The common issues below should be watched for through all testing, even if unrelated to the current workflow being tested.
Project Requirements
cmake --build build/<build folder name> --target AssetProcessorBatch --config profile
command from the root engine folder.Editor Platforms:
Product: Finding presence of missing dependencies
Suggested Time Box: 15 minutes per platform.
Workflow | Requests | Things to Watch For |
---|---|---|
Add test file |
|
|
Run Missing Dependency Scanner |
|
|
Delete Asset with missing Dependency |
|
|
Project Requirements
cmake --build build/<build folder name> --target AssetProcessorBatch --config profile
command from the root engine folder.Editor Platforms:
Product: Verified a presence of false possitive missing dependency.
Suggested Time Box: 15 minutes per platform.
Workflow | Requests | Things to Watch For |
---|---|---|
Identify a false positive missing dependenct asset |
|
|
Testing in this area should focus on the functionality of running the Android application in assets by Virtual File System (VFS) packaging mode.
Test guidance will sometimes note specific issues to watch for. The common issues below should be watched for through all testing, even if unrelated to the current workflow being tested.
Create <project-path>/Registry/AssetProcessor.setreg
file to generate android assets in the cache:
{
"Amazon": {
"AssetProcessor": {
"Settings": {
"Platforms": {
"android": "enabled"
}
}
}
}
}
Make sure <project-path>/Platform/Android/android_project.json
exists and that it has android settings section in it. Example:
"android_settings": {
"package_name": "org.o3de.DefaultProject",
"version_number": 1,
"version_name": "1.0.0.0",
"orientation": "landscape"
},
Build the default project.
Open the Editor and create a default level.
Create <project-path>/Registry/autoexec.game.setreg
file to set the starting level:
{
"O3DE": {
"Autoexec": {
"ConsoleCommands": {
"LoadLevel": "DefaultLevel"
}
}
}
}
Create <project-path>/Registry/bootstrap.setreg
file to enable remote filesystem on Android:
{
"Amazon": {
"AzCore": {
"Bootstrap": {
"android_remote_filesystem": 1,
"android_connect_to_remote": 1,
"android_wait_for_connect": 1
}
}
}
}
Run Asset Processor and wait until all assets have been processed.
Product: Android application running in VFS packaging mode.
Suggested Time Box: 3 hours for requirements + 1 hour for the workflow.
Workflow | Requests | Things to Watch For |
---|---|---|
Assets by VFS (minimum assets in sdcard) |
|
|
Workflow | Requests | Things to Watch For |
---|---|---|
Run default level |
|