openpose_unity_plugin icon indicating copy to clipboard operation
openpose_unity_plugin copied to clipboard

Hand pose keeps crashing Unity 2018.3.6f1

Open yosun opened this issue 5 years ago • 4 comments

Issue Summary

Hand pose checkbox (and bool) keeps crashing Unity 2018.3.6f1

Executed Command (if any)

Note: add --logging_level 0 --disable_multi_thread to get higher debug information.

OpenPose Output (if any)

Errors (if any)

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your System Configuration

  1. Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: LINK

  2. OpenPose version: Latest GitHub code from this Unity repo today

  3. General configuration: System Info: https://pastebin.com/RihYibbB

    • Installation mode: CMake, sh script, manual Makefile installation, ... (Ubuntu); CMake, ... (Windows); ...?
    • Operating system (lsb_release -a in Ubuntu): Windows 10.0.17134 Build 17134
    • Release or Debug mode? (by default: release): release
    • Compiler (gcc --version in Ubuntu or VS version in Windows): 5.4.0, ... (Ubuntu); VS2015 Enterprise Update 3, VS2017 community, ... (Windows); ...? Microsoft Visual Studio Community 2017 Version 15.7.2 VisualStudio.15.Release/15.7.2+27703.2018 Microsoft .NET Framework Version 4.7.03056

Installed Version: Community

Visual C++ 2017 00369-60000-00001-AA469 Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package 8.12.10405.1 Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.40511.0 ASP.NET and Web Tools 2017

C# Tools 2.8.2-beta6-62916-08. Commit Hash: 2ad4aabc7a9dada097e54e544ebba48ab1c05074 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service 2.0 JavaScript Language Service

JavaScript Project System 2.0 JavaScript Project System

JavaScript UWP Project System 2.0 JavaScript UWP Project System

Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0 Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package

NuGet Package Manager 4.6.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

ProjectServicesPackage Extension 1.0 ProjectServicesPackage Visual Studio Extension Detailed Info

TypeScript Tools 15.7.20419.2003 TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 2.8.2-beta6-62916-08. Commit Hash: 2ad4aabc7a9dada097e54e544ebba48ab1c05074 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Cross Platform Mobile Development (Android) 15.0.27625.00 Visual C++ for Cross Platform Mobile Development (Android)

Visual Studio Code Debug Adapter Host Package 1.0 Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake 1.0 Visual Studio Tools for CMake

Visual Studio Tools for Unity 3.7.0.1 Visual Studio Tools for Unity

Visual Studio Tools for Universal Windows Apps 15.0.27703.2018 The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Windows Machine Learning Generator Extension 1.0 Windows Machine Learning Visual Studio Extension Detailed Info

  1. Non-default settings: no

  2. 3rd-party software: no

  3. If GPU mode issue:

    • CUDA version (cat /usr/local/cuda/version.txt in most cases):
    • cuDNN version:
    • GPU model (nvidia-smi in Ubuntu):
  4. If CPU-only mode issue:

    • CPU brand & model:
    • Total RAM memory available:
  5. If Python API:

    • Python version: 2.7, 3.7, ...?
    • Numpy version (python -c "import numpy; print numpy.version.version" in Ubuntu):
  6. If Windows system:

    • Portable demo or compiled library?
  7. If speed performance issue:

    • Report OpenPose timing speed based on this link.

yosun avatar Feb 19 '19 04:02 yosun

Make sure you remove the old DLLs and re-download the ones that each OpenPose Plugin version requires. The easiest way, try re-downloading the repo in a new folder and redoing all the installation steps (OpenPose keeps adding flags so using old version might make that crash)

gineshidalgo99 avatar Feb 19 '19 05:02 gineshidalgo99

Hi, was just testing your solution for hand+face tracking from an RGB monocular webcam only. So - Entire Unity project was in a new blank folder, fresh install from this repo and following the directions listed here... Have not seen the flags yet v1.5 seems the latest?

yosun avatar Feb 19 '19 23:02 yosun

Just to be more clear on your problem: The project can run with default settings, but enabling the hand/face will crash Unity. Is this correct?

If so, a possible reason would be the resolution requires more GPU memory than you have. What GPU model are you using? Try running with lower hand/face resolution (e.g. 80).

ZiuTinyat avatar Feb 20 '19 00:02 ZiuTinyat

Hi, I am facing the same crashing problem on my machine. I am running on Unity 2018.3.14f1 and NVidia GTX GeForce 980. When I set the hand resolution to 80, then it does not crash, but it is not tracking my hands. Can I track only hands without entire body tracking? I only need to track my hands on my desktop app.

gmspacex avatar Jul 15 '19 18:07 gmspacex