Search Issue Tracker

Fixed in 2019.1.X

Fixed in 2017.4.X, 2018.2.X, 2018.3.X

Votes

2

Found in

2017.4

2018.2

2018.2.7f1

2018.3

2019.1

Issue ID

1082241

Regression

No

Unity 2018.2.7f1 Windows standalone crash on first run due to UnityPlayer.dll Access Violation

Windows

-

Reproduction steps:
1. Open the attached project ("1082241Repro.zip")

Expected result: Project starts normally
Actual result: Editor crashes:
UnityPlayer.dll!__crt_strtox::parse_integer<unsigned long,__crt_strtox::c_string_character_source<wchar_t> >(__crt_locale_pointers * const locale, __crt_strtox::c_string_character_source<wchar_t> source, int base, const bool is_signed) Line 208 C++
[Inline Frame] UnityPlayer.dll!__crt_strtox::parse_integer_from_string(const wchar_t * const) Line 1828 C++
UnityPlayer.dll!wcstoul(const wchar_t * string, wchar_t * * end_ptr, int base) Line 262 C++
> UnityPlayer.dll!GetDisplayAdapterPropertyWMI(const DXGI_ADAPTER_DESC & adapterDesc, const wchar_t * attribName, tagVARIANT * retValue) Line 140 C++
UnityPlayer.dll!windriverutils::GetDisplayDriverVersionString(int adapter, core::basic_string<char,core::StringStorageDefault<char> > & driverVersion) Line 202 C++
UnityPlayer.dll!GraphicsCaps::InitD3D11() Line 227 C++
UnityPlayer.dll!CreateD3D11GfxDevice() Line 652 C++
UnityPlayer.dll!CreateClientGfxDevice(GfxDeviceRenderer renderer, GfxCreateDeviceFlags flags) Line 104 C++
UnityPlayer.dll!CreateGfxDevice(GfxDeviceRenderer api, GfxCreateDeviceFlags flags) Line 493 C++
[Inline Frame] UnityPlayer.dll!CreateGfxDeviceFromAPIList(GfxCreateDeviceFlags) Line 542 C++
UnityPlayer.dll!InitializeGfxDevice() Line 607 C++
UnityPlayer.dll!InitializeEngineGraphics(bool batch) Line 280 C++
UnityPlayer.dll!PlayerInitEngineGraphics(bool batchmode) Line 431 C++
UnityPlayer.dll!UnityMainImpl(HINSTANCE__ * hInst, HINSTANCE__ * hPrev, wchar_t * szCmdLine, int nCmdShow) Line 1309 C++
UnityPlayer.dll!UnityMain(HINSTANCE__ * hInst, HINSTANCE__ * hPrev, wchar_t * szCmdLine, int nCmdShow) Line 1471 C++

Reproducible with: 2017.4.15f1, 2018.2.16f1, 2018.3.0b8, 2019.1.0a5
Not reprodrucible with: 2017.4.16f1, 2018.2.17f1, 2018.3.0b9, 2019.1.0a6 (Fixed)

  1. Resolution Note (fix version 2019.1):

    Fixed in 2017.4.16f1, 2018.2.17f1, 2018.3.0b9 and 2019.1.0a6.

Comments (3)

  1. Pranav_Redstoneinvente

    Jul 28, 2021 03:39

    Happening on Unity Version 2021.0b1 as well

  2. Francis89074

    Oct 07, 2018 00:19

    Having same issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.