ドキュメント

​
​

Development

User Acquisition

Monetization

産業

Asset Transformer SDK

2026.4

サポート対象
​

User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

2026.4

サポート対象
​

このページは選択した言語では使用できません。
​
​
Get started
  • System requirements
  • Licensing
  • Setup
  • Migrate from Scenario Processor
Framework
  • Framework
  • Preferences
Input/output files
  • Supported formats
  • Import files
  • Export files
  • Export textures
  • CAD vs Mesh
Scene
  • Product structure
  • Occurrence
  • Component
  • Material
  • Image
Algorithms
  • CAD
  • Healing
  • Optimization
  • Combine and bake
  • Reconstruction
  • UVs
Viewer
  • Viewer
Pixyz UI
  • Setup
  • Overview
  • Create a custom UI
Guidelines
  • Data preparation
  • Process point clouds
Debug and diagnose
  • Log files
  • Debug best practices
Other
  • Samples
  • Glossary
  1. Asset Transformer SDK (ex Pixyz)

Debug best practices

Bug investigation best practices
読み終わるまでの所要時間 3 分
最終更新 3ヶ月前

When working with Pixyz SDK, encountering bugs or crashes can be inevitable due to the complexity of 3D data processing. This document aims to provide best practices for effectively investigating and resolving these issues. Following these guidelines will help streamline the debugging process and improve communication with the Pixyz support team when necessary.

1. Common debugging techniques

  • Validate inputs: ensure that the inputs to the functions are valid and in the expected format. Invalid inputs can often lead to unexpected behavior and crashes.
  • Simplify the case: try to reduce the problem to a simpler case that still reproduces the issue. This can help in identifying whether the problem is with the specific data or a more general issue in the function.
  • Update and patch: ensure that you are using the latest version of Pixyz SDK. Check for any available patches or updates that might address the issue you are encountering.

2. General investigation steps

2.1. Reproduce the issue

To effectively troubleshoot a bug, it is crucial to reliably reproduce the issue. Follow these steps:
  • Document context: note the steps and the specific context in which the bug occurs, including the script or API calls leading up to the issue.
  • Isolate the function: try to isolate the specific function or API call causing the problem.
  • System information: record the version of the Pixyz SDK you are using, as well as relevant hardware and system information.

Use Logging and Debugging tools

Use logging to gather more information about the bug:
  • Enable SDK logging (on by default): turn on detailed logging in the Pixyz SDK to capture more granular information about the operations being performed.
  • Debug output: print variable states and intermediate results to understand the program flow and identify where things go wrong.

3. Handle crashes in your workflow

3.1. Save a .pxz file before a crash

If your workflow experiences a crash, one of the first steps you should take is to save the state of your project just before the crash occurs. This can be done using the core.save function.
Steps:
  • Identify the point in your workflow where the crash occurs (see previous section).
  • Insert a core.save command immediately before this point to capture the state of the project into a .pxz file.

3.2. Inspect the saved .pxz File

After saving the .pxz file, open and inspect the file in a Pixyz viewer:
  • Open the .pxz file: load the saved file in a Pixyz viewer to visually inspect the state of the 3D model and data. Look for any anomalies or unusual data.
  • Run subsequent functions: try to execute the next function in your workflow on this .pxz file to see if the issue is reproducible.

3.3. Contact Pixyz Support

If the issue is consistently reproducible and you have isolated the problem with a .pxz file:
  • Share the .pxz file: contact Pixyz support and share the .pxz file along with a detailed description of the issue and the steps to reproduce it.
  • Provide necessary context: include relevant system information, code snippets, and logs that can help the support team understand and diagnose the problem.
注
If you are unable to share a .pxz file due to security concerns or NDAs, please provide us with a simplified, non-sensitive version that reproduces the same issue. This will help us diagnose and resolve the problem on our end.

Copyright © 2026 Unity Technologies
法規事項プライバシーポリシークッキーDocumentation Terms of Use私の個人情報を販売または共有しないプライバシーに関する選択 (クッキー設定)

"Unity" の名称、Unity のロゴ、およびその他の Unity の商標は、米国およびその他の国における Unity Technologies またはその関係会社の商標または登録商標です (詳しくはこちら)。その他の名称またはブランドは該当する所有者の商標です。

一部のページは利便性向上のため機械翻訳を使用しており、内容に不正確な表現が含まれる場合があります。内容に齟齬または不一致が生じた場合は、英語版を正本とします。

  • このページ
    • 1. Common debugging techniques

    • 2. General investigation steps

    • 2.1. Reproduce the issue

    • Use Logging and Debugging tools

    • 3. Handle crashes in your workflow

    • 3.1. Save a .pxz file before a crash

    • 3.2. Inspect the saved .pxz File

    • 3.3. Contact Pixyz Support


このページの問題を報告する