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
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)
-
Pranav_Redstoneinvente
Jul 28, 2021 03:39
Happening on Unity Version 2021.0b1 as well
-
Peter77
Dec 19, 2018 12:39
Related forum thread:
https://forum.unity.com/threads/solved-crash-when-running-any-unity-application.599953 -
Francis89074
Oct 07, 2018 00:19
Having same issue.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2019.1):
Fixed in 2017.4.16f1, 2018.2.17f1, 2018.3.0b9 and 2019.1.0a6.