Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.4, 2020.1

Votes

19

Found in

2019.3.16f1

2019.4.0f1

2020.1.0b11

2020.2.0a12

Issue ID

1254964

Regression

Yes

Crash on Shader::GetLocalKeywordRemap or ShaderLab::Pass::ApplyPass when Trees are painted on a Terrain

Terrain

-

Reproduction steps:
1. Open attached project "1254964"
2. Open scene "myscene" and select "Terrain" from the Hierarchy
3. In the Inspector, press on the Paint Trees tab and select the "Forest_Tree_1B"
4. Left-click on the terrain to paint the trees
-- observe crash

Reproducible with: 2019.3.16f1, 2019.4.1f1, 2020.1.0b11, 2020.1.0b13, 2020.2.0a12, 2020.2.0a15
Not reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0a1, 2020.1.0b10, 2020.2.0a1, 2020.2.0a11

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a16

  2. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b15

  3. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in 2019.4.3f1

Comments (5)

  1. E4471575f97ed79dbf97c3f4b4a9adab?d=mm

    amitpandeyblogs

    Jul 05, 2020 11:10

    http://groupspaces.com/FIFA18GROUP/item/1126688#wall
    https://www.widgeo.net/SiteDoctor/health_check/report/209599/studybulletin.com
    https://www.widgeo.net/SiteDoctor/health_check/report/209601/studybulletin.compost10-tips-on-how-to-increase-study-hours
    https://www.widgeo.net/SiteDoctor/health_check/report/209602/studybulletin.composthow-does-google-crawler-work
    https://www.widgeo.net/SiteDoctor/health_check/report/209604/studybulletin.composton-page-seo-techniques-of-2020
    https://www.widgeo.net/SiteDoctor/health_check/report/209609/studybulletin.compostwhat-is-google-search-update
    https://www.widgeo.net/SiteDoctor/health_check/report/209611/studybulletin.compostshoe-dog-review-phil-knight-book-review
    https://www.widgeo.net/SiteDoctor/health_check/report/209613/studybulletin.compostoppo-new-product-launch-opp-launches-truly-wireless-earbuds-7th-april
    https://www.widgeo.net/SiteDoctor/health_check/report/209614/studybulletin.compost5g-technology
    https://www.widgeo.net/SiteDoctor/health_check/report/209615/studybulletin.compostinvesting-in-cryptocurrency
    https://www.widgeo.net/SiteDoctor/health_check/report/209616/studybulletin.compostai-s-best-friend-quantum-computers
    https://www.widgeo.net/SiteDoctor/health_check/report/209619/studybulletin.compostiphone-6-in-2020
    https://www.widgeo.net/SiteDoctor/health_check/report/209621/studybulletin.compostis-cryptocurrency-in-danger
    https://www.widgeo.net/SiteDoctor/health_check/report/209623/studybulletin.compostplanet-where-it-rains-iron
    https://www.widgeo.net/SiteDoctor/health_check/report/209624/studybulletin.compostare-we-in-a-quantum-sandwich
    https://www.widgeo.net/SiteDoctor/health_check/report/209627/studybulletin.compostreliance-hit-by-corona-virus
    https://www.widgeo.net/SiteDoctor/health_check/report/209628/studybulletin.compostit-is-time-that-we-recognize-that-the-right-to-access-to-the-internet-in-indeed-a-fundamental-right
    https://www.widgeo.net/SiteDoctor/health_check/report/209631/studybulletin.compostbeginner-s-guide-to-gmail
    https://www.widgeo.net/SiteDoctor/health_check/report/209632/studybulletin.composthow-to-use-gmail-plus-sign-trick
    https://www.widgeo.net/SiteDoctor/health_check/report/209634/studybulletin.compostsleepyti-me-sleep-like-a-kid
    http://www.bshare.cn/share?url=https://studybulletin.com/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/increase-concentration-power-in-study/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/10-tips-on-how-to-increase-study-hours/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/how-does-google-crawler-work/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/on-page-seo-techniques-of-2020/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/what-is-google-search-update/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/shoe-dog-review-phil-knight-book-review/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/oppo-new-product-launch-opp-launches-truly-wireless-earbuds-7th-april/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/5g-technology/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/investing-in-cryptocurrency/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/ai-s-best-friend-quantum-computers/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/is-cryptocurrency-in-danger/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/iphone-6-in-2020/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/planet-where-it-rains-iron/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/are-we-in-a-quantum-sandwich/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/reliance-hit-by-corona-virus/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/it-is-time-that-we-recognize-that-the-right-to-access-to-the-internet-in-indeed-a-fundamental-right/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/beginner-s-guide-to-gmail/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/how-to-use-gmail-plus-sign-trick/
    http://www.bshare.cn/share?url=https://studybulletin.com/post/sleepyti-me-sleep-like-a-kid/
    https://linktr.ee/Amitpandeydhn
    https://studybulletin.com/
    https://seojunky.com/site/studybulletin.com
    https://studybulletin.com/post/increase-concentration-power-in-study/
    https://studybulletin.com/post/10-tips-on-how-to-increase-study-hours/
    https://studybulletin.com/post/how-does-google-crawler-work/
    https://studybulletin.com/post/on-page-seo-techniques-of-2020/
    https://studybulletin.com/post/what-is-google-search-update/
    https://studybulletin.com/post/shoe-dog-review-phil-knight-book-review/
    https://studybulletin.com/post/oppo-new-product-launch-opp-launches-truly-wireless-earbuds-7th-april/
    https://studybulletin.com/post/5g-technology/
    https://studybulletin.com/post/investing-in-cryptocurrency/
    https://studybulletin.com/post/ai-s-best-friend-quantum-computers/
    https://studybulletin.com/post/is-cryptocurrency-in-danger/
    https://studybulletin.com/post/iphone-6-in-2020/
    https://studybulletin.com/post/planet-where-it-rains-iron/
    https://studybulletin.com/post/are-we-in-a-quantum-sandwich/
    https://studybulletin.com/post/reliance-hit-by-corona-virus/
    https://studybulletin.com/post/it-is-time-that-we-recognize-that-the-right-to-access-to-the-internet-in-indeed-a-fundamental-right/
    https://studybulletin.com/post/beginner-s-guide-to-gmail/
    https://studybulletin.com/post/how-to-use-gmail-plus-sign-trick/
    https://studybulletin.com/post/sleepyti-me-sleep-like-a-kid/

  2. Eb2be104bb042b0bd83d309c4bb3b7c6?d=mm

    rochbordan11

    Jul 04, 2020 10:13

    https://forum.taotesting.com/profile/SolarPowerEarth
    https://forums.golfwrx.com/profile/solarpower947
    https://gitlab.sgalinski.de/solarp947
    https://forum.acronis.com/user/328041
    https://io.telkomuniversity.ac.id/forum/profile/solarpower947/
    https://profile.freepik.com/user/solarpower947
    https://www.mirakee.com/solarpowerearth_
    https://labs.maarch.org/solarp947
    https://www.troublefreepool.com/members/solarpowerearth947.248556/
    https://community.xgimi.com/user/solarpower947
    https://forum.gurtam.com/profile.php?id=218945
    https://www.thephotoforum.com/members/solar-power-earth.242945/
    https://social.technet.microsoft.com/Profile/solarpower947
    https://gitlab.jetshop.se/solarp947
    https://www.theme-junkie.com/forum/users/solarpowerearth947/
    https://developer.flir.com/forums/users/solarpowerearth947/
    http://dev4.distributel.ca/profile/solarpower947
    http://www.good-tutorials.com/users/solarpower947
    https://kuyhaa.canny.io/sheena-jack/p/solar-panel-systems
    https://academy.autodesk.com/users/solarpowerearth947
    https://airsoftcanada.com/member.php?u=288387
    http://www.theseasonedcook.com/UserProfile/tabid/42/userId/1246492/Default.aspx
    https://forums.taleworlds.com/index.php?members/solarpower947.560040
    https://git.nomics.world/solarp947
    https://forum.clientexec.com/members/solarpowerearth947.4113/
    http://www.tinywebgallery.com/blog/forum/profile/solarpower947
    https://forum.proxmox.com/members/solarpower947.95714/
    https://gitlab.keepcoding.io/solarp947
    https://pubhtml5.com/homepage/xcpj
    https://forum.reallusion.com/Users/2893013/solarpowerearth947
    http://www.whalersonthemoon.net/users/15710
    https://blog.crystalcommerce.com/devforum/profile/solarpowerearth947/
    https://www.evilmadscientist.com/forums/users/solarpower947/
    https://arsandbox.ucdavis.edu/forums/users/solarpower947/

  3. 189bd4010a6bad5fab0b3197ff4cc983?d=mm

    kuwabara_

    Jun 19, 2020 03:26

    This issue also occurred in our project.
    We have confirmed that it has also occurred in Unity 2019.4.1f1 released today.
    The call stack when the phenomenon occurred was as follows.

    > UnityPlayer.dll!Shader::GetLocalKeywordRemap(int,int)
    UnityPlayer.dll!ShaderLab::Pass::ApplyPass(unsigned int,class ShaderPropertySheet const *,struct ShaderPassContext &,class Shader *,int,int,class ShaderLab::GrabPasses const *,class ShaderLab::SubPrograms *,struct DeviceRenderStateBlock const *)
    UnityPlayer.dll!ApplyMaterialPassWithCache(struct SharedMaterialData const &,struct ShaderPassContext &,class Shader *,class ShaderLab::Pass *,int,int,bool,class ShaderLab::GrabPasses const *,class ShaderLab::SubPrograms *,struct DeviceRenderStateBlock const *)
    UnityPlayer.dll!ApplyMaterialPassAndKeywordsWithCache(struct SharedMaterialData const &,struct ShaderPassContext &,class Shader *,class ShaderLab::Pass *,int,int,bool,class ShaderLab::GrabPasses const *,class ShaderLab::SubPrograms *,struct DeviceRenderStateBlock const *)
    UnityPlayer.dll!BatchRenderer::ApplyShaderPass(struct ShaderPassContext &,struct SharedMaterialData const *,class Shader *,struct BatchRenderer::PassInfo &,enum BatchingFlags,bool,bool,class ShaderLab::GrabPasses const *,struct DeviceRenderStateBlock const *)
    UnityPlayer.dll!RenderCasters()
    UnityPlayer.dll!ShadowMapJob()
    UnityPlayer.dll!GfxDevice::ExecuteAsync(int,void (*)(struct GfxDeviceAsyncCommand::ArgScratch *,struct GfxDeviceAsyncCommand::Arg const *),struct GfxDeviceAsyncCommand::ArgScratch * *,struct GfxDeviceAsyncCommand::Arg const *,struct JobFence const &)
    UnityPlayer.dll!GfxDeviceClient::ExecuteAsync(int,void (*)(struct GfxDeviceAsyncCommand::ArgScratch *,struct GfxDeviceAsyncCommand::Arg const *),struct GfxDeviceAsyncCommand::ArgScratch * *,struct GfxDeviceAsyncCommand::Arg const *,struct JobFence const &)
    UnityPlayer.dll!RenderShadowMaps(struct ShadowMapJobHeader const *,struct ShaderPassContext &,enum RenderTexture::SetActiveFlags)
    UnityPlayer.dll!ForwardShaderRenderLoop::RenderLightShadowMaps(struct ForwardShadowMap &,bool,bool,struct ShaderPassContext &)
    UnityPlayer.dll!ForwardShaderRenderLoop::PerformRendering(struct JobFence &,struct ActiveLight const *,struct ShadowJobData const &,bool,bool,bool,enum Camera::RenderFlag)
    UnityPlayer.dll!DoForwardShaderRenderLoop(struct RenderLoopContext const &,struct dynamic_array<struct RenderObjectData,0> &,struct CullResults const &,bool,bool,bool,enum Camera::RenderFlag)
    UnityPlayer.dll!DoRenderLoop(struct RenderLoop &,enum RenderingPath,struct CullResults &,struct ShadowMapCache &)
    UnityPlayer.dll!Camera::DoRender(struct CullResults &,enum Camera::RenderFlag,class Camera::PerformRenderFunction *)
    UnityPlayer.dll!Camera::CustomRender(struct CullResults &,struct ShaderPassContext &,struct CameraRenderingParams const *,enum Camera::RenderFlag,class Camera::PerformRenderFunction *,void (*)(void),void (*)(void))
    UnityPlayer.dll!RenderManager::RenderCameras(int,void (*)(void),void (*)(void))
    UnityPlayer.dll!PlayerRender(bool)
    UnityPlayer.dll!`InitPlayerLoopCallbacks'::`2'::PostLateUpdateFinishFrameRenderingRegistrator::Forward()
    UnityPlayer.dll!ExecutePlayerLoop(struct NativePlayerLoopSystem *)
    UnityPlayer.dll!ExecutePlayerLoop(struct NativePlayerLoopSystem *)
    UnityPlayer.dll!PlayerLoop(void)
    UnityPlayer.dll!PerformMainLoop()
    UnityPlayer.dll!MainMessageLoop()
    UnityPlayer.dll!UnityMainImpl(struct HINSTANCE__ *,struct HINSTANCE__ *,wchar_t *,int)
    UnityPlayer.dll!UnityMain()

    Shader::GetLocalKeywordRemap:
    00007FFAA4F334C0 mov r9,qword ptr [rcx+50h]
    00007FFAA4F334C4 movsxd rcx,edx
    00007FFAA4F334C7 mov rax,qword ptr [r9]
    00007FFAA4F334CA mov rax,qword ptr [rax+rcx*8]
    00007FFAA4F334CE movsxd rcx,r8d
    00007FFAA4F334D1 add rcx,rcx
    >00007FFAA4F334D4 mov rax,qword ptr [rax+60h]
    00007FFAA4F334D8 movsxd rdx,dword ptr [rax+rcx*8+8]
    00007FFAA4F334DD test edx,edx
    00007FFAA4F334DF jns Shader::GetLocalKeywordRemap+24h (07FFAA4F334E4h)
    00007FFAA4F334E1 xor eax,eax
    00007FFAA4F334E3 ret
    00007FFAA4F334E4 mov rax,rdx
    00007FFAA4F334E7 shl rax,8
    00007FFAA4F334EB add rax,qword ptr [r9+0A8h]
    00007FFAA4F334F2 ret
    00007FFAA4F334F3 int 3
    00007FFAA4F334F4 int 3
    00007FFAA4F334F5 int 3
    00007FFAA4F334F6 int 3
    00007FFAA4F334F7 int 3
    00007FFAA4F334F8 int 3
    00007FFAA4F334F9 int 3
    00007FFAA4F334FA int 3
    00007FFAA4F334FB int 3
    00007FFAA4F334FC int 3
    00007FFAA4F334FD int 3
    00007FFAA4F334FE int 3
    00007FFAA4F334FF int 3

  4. 6f650d7e4da4f40f0280060ca4f8705a?d=mm

    RaventurnPatrick

    Jun 16, 2020 11:02

    If needed I can provide crash dumps. Btw for me it's not related to Terrain at all but rather happens when drawing the Game View (in game) after switching to another scene

    Unity.exe caused an Access Violation (0xc0000005)
    in module Unity.exe at 0033:426779c3.
    0x00007FF7426779C3 (Unity) Shader::GetLocalKeywordRemap
    0x00007FF741513A13 (Unity) ShaderLab::Pass::ApplyPass
    0x00007FF7414D2B13 (Unity) ApplyMaterialPassWithCache
    0x00007FF7414D2715 (Unity) ApplyMaterialPassAndKeywordsWithCache
    0x00007FF740C6A5B4 (Unity) BatchRenderer::ApplyShaderPass
    0x00007FF740B7E34E (Unity) RenderCasters
    0x00007FF740B8590E (Unity) ShadowMapJob
    0x00007FF73FF8AEF3 (Unity) GfxDevice::ExecuteAsync
    0x00007FF740B81481 (Unity) RenderShadowMaps
    0x00007FF740C74C8A (Unity) ForwardShaderRenderLoop::RenderLightShadowMaps
    0x00007FF740C71BF7 (Unity) ForwardShaderRenderLoop::PerformRendering
    0x00007FF740C6D2CF (Unity) DoForwardShaderRenderLoop
    0x00007FF740C57962 (Unity) DoRenderLoop
    0x00007FF740BFFDC5 (Unity) Camera::CustomRender
    0x00007FF740C0DB36 (Unity) RenderManager::RenderCameras
    0x00007FF73F6A7F9B (Unity) RepaintController::RenderPlayModeViewCameras
    0x00007FF73FDB661E (Unity) EditorGUIUtility::RenderPlayModeViewCamerasInternal

  5. 6f650d7e4da4f40f0280060ca4f8705a?d=mm

    RaventurnPatrick

    Jun 16, 2020 10:58

    Also happens for me in 2019.4.0f1. Moving certain lines of C# Code around fixes the problem, but it's very odd - maybe it indicates some form of memory corruption

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.