Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Windows.Devices.Sensors.dll Exception in System Loading Time

Discussion in 'Windows' started by JongokLee, Jun 19, 2015.

  1. JongokLee

    JongokLee

    Joined:
    Jun 15, 2015
    Posts:
    3
    Hi,
    I have been developing Windows8.1 Store App using Unity 4.6.5

    In System Loading, WinRT error has occured,

    Test Environment
    -------------------------------------------------------------------------------------
    Windows 8.1 (64bit), Desktop
    Unity Version 4.6.5

    Logs
    ----------------------------------------------------------------------------------------
    [0.000067 / 33.276894] - AppCallbacks::SetupInputEvents
    'Template.exe'(Win32): 'C:\Windows\SysWOW64\Windows.Devices.Sensors.dll'을(를) 로드했습니다. 기호가 로드되었습니다.
    예외 발생(0x760C4598(KernelBase.dll), Template.exe): 0x40080201: WinRT originate error(매개 변수: 0x80070490, 0x0000003A, 0x066AEBBC).

    CallStack
    ----------------------------------------------------------------------------------------
    KernelBase.dll!_RaiseException@16() 알 수 없음
    combase.dll!SendReport(HRESULT error, unsigned int cchMax, const wchar_t * message, unsigned short pSid, void * pExceptionObject, IUnknown *) C++
    combase.dll!RoOriginateErrorW(HRESULT error, unsigned int cchMax, const wchar_t * message) 줄 470 C++
    > Windows.Devices.Sensors.dll!Windows::Foundation::Diagnostics::OriginateError(HRESULT error, unsigned int cchMax, const wchar_t * message) 줄 202 C++
    Windows.Devices.Sensors.dll!Windows::Devices::Sensors::Utilities::OriginateError(HRESULT hr, unsigned short uID) 줄 266 C++
    Windows.Devices.Sensors.dll!Windows::Devices::Sensors::SimpleOrientationSensorServer::Initialize() 줄 34 C++
    Windows.Devices.Sensors.dll!Windows::Devices::Sensors::SimpleOrientationSensorFactory::GetDefault(Windows::Devices::Sensors::ISimpleOrientationSensor * * ppResult) 줄 227 C++

    UnityPlayer.dll!Windows::Devices::Sensors::ISimpleOrientationSensorStatics::GetDefault() C++
    UnityPlayer.dll!Windows::Devices::Sensors::SimpleOrientationSensor::GetDefault() C++
    UnityPlayer.dll!UnityPlayer::AppCallbacks::SetupOrientationSensorEvents() 줄 549 C++
    UnityPlayer.dll!UnityPlayer::AppCallbacks::Load::__l21::<람다>() 줄 824 C++
    UnityPlayer.dll!Platform::Details::__abi_FunctorCapture<void <람다>(void),void>::Invoke() 줄 875 C++
    UnityPlayer.dll!UnityPlayer::AppCallbackItem::NonVInvoke() C++
    UnityPlayer.dll!UnityPlayer::AppCallbacks::InvokeOnUIThread::__l31::<람다>() 줄 327 C++
    UnityPlayer.dll!Platform::Details::__abi_FunctorCapture<void <람다>(void),void>::Invoke() 줄 875 C++
    UnityPlayer.dll!Windows::UI::Core::DispatchedHandler::Invoke() C++
    UnityPlayer.dll!Windows::UI::Core::DispatchedHandler::[Windows::UI::Core::DispatchedHandler::__abi_IDelegate]::__abi_Windows_UI_Core_DispatchedHandler___abi_IDelegate____abi_Invoke() C++
    Windows.UI.dll!Windows::UI::Core::CDispatcher::processInvokeItem() 줄 792 C++
    Windows.UI.dll!Windows::UI::Core::CDispatcher::WaitAndProcessMessages(void * hEventWait) C++
    Windows.UI.dll!Windows::UI::Core::CDispatcher::processEvents(Windows::UI::Core::CoreProcessEventsOption options) 줄 390 C++
    Windows.UI.Xaml.dll!DirectUI::FrameworkView::Run() 줄 93 C++
    twinapi.appcore.dll!Windows::ApplicationModel::Core::CoreApplicationView::Run(void) 알 수 없음
    twinapi.appcore.dll!Windows::Foundation::Collections::Internal::HashMap<unsigned int,struct Windows::UI::Core::ICoreWindow *,struct Windows::Foundation::Collections::Internal::DefaultHash<unsigned int>,struct Windows::Foundation::Collections::Internal::DefaultEqualityPredicate<unsigned int>,struct Windows::Foundation::Collections::Internal::DefaultLifetimeTraits<unsigned int>,struct Windows::ApplicationModel::Core::Details::SmugglableInterfaceLifetimeTraits,struct Windows::Foundation::Collections::Internal::HashMapOptions<unsigned int,struct Windows::UI::Core::ICoreWindow *,struct Windows::Foundation::Collections::Internal::DefaultLifetimeTraits<unsigned int>,0,1,0> >::Remove(unsigned int) 알 수 없음
    SHCore.dll!_StringCchPrintfW() 알 수 없음
    kernel32.dll!@BaseThreadInitThunk@12() 알 수 없음
    ntdll.dll!__RtlUserThreadStart() 알 수 없음
    ntdll.dll!__RtlUserThreadStart@8() 알 수 없음
    ----------------------
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,644
    Does this show up somehow or is it simply an internal exception, that is thrown and caught inside Unity?
     
  3. JongokLee

    JongokLee

    Joined:
    Jun 15, 2015
    Posts:
    3
    this exception show up after App running in VC debuging mode
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673