Jump to content

Steam - debug build of game failing to start


Go to solution Solved by SpiderPig,

Recommended Posts

What could cause these errors when starting the debug build on another machine?  The release build fails to run too.

Failed to find these dll's;

  • MSVCP140D
  • VCRUNTIME140D
  • VCRUNTIME140_1D
  • ucrtbased

I've installed C++ redistributables as found on the learn page.  And steam is installing them anyway :huh:

Link to comment
Share on other sites

  • SpiderPig changed the title to Steam game failing to start

From what I can gather, to run a C++ debug build you need the debug DLL's which there is no redistributable for.  You either need to install Visual Studio on that machine or find the DLL's and export them with that project.

Link to comment
Share on other sites

  • SpiderPig changed the title to Steam - debug build of game failing to start
  • Solution

I see of lot of information on the web saying you not allowed to redistribute the debug DLL's.  I don't know why considering you can just download visual studio and get them anyway.  So I guess I'll just make it that if anyone wants to run the debug build they need to install visual studio.

Link to comment
Share on other sites

  • 1 month later...

Hi, how did you fix this problem? I tried to follow troubleshooting in Getting started, I also tried to reinstall Ultra Engine, Visual Studio and redistributables with no luck. Currently I'm not even able to run game directly from Ultra Engine.

Link to comment
Share on other sites

I actually installed Visual Studio Code (followed link in Getting Started with Lua) and a project is Lua based. I guess, I'll try to install Visual Studio and maybe try both Lua and C++ based project tomorrow. I've got Pro version. Is there a way, how can I perform clean install of Steam version? If I uninstall it and install it again, it still remembers path to projects and other configuration. BTW thanks for your replies and help.

  • Like 1
Link to comment
Share on other sites

Yeah give it a go and see.  I'm not sure about a clean install that removes the path data.  It's either registry keys or maybe the config file for Ultra.  I forget where that is, ProgramData\Ultra Engine maybe?

9 minutes ago, Pleca said:

BTW thanks for your replies and help.

Welcome :)

Link to comment
Share on other sites

So I installed Visual Studio Community 2022 (Desktop development with C++), created new C++ project in Ultra Engine and it runs perfectly fine. Then a reinstall Visual Studio Code, created new Lua project in Ultra Engine and it also runs without issue. :D I believe there still was something wrong with redistributables, Visual Studio Community installed new ones and problem is solved. Thank you once again SpiderPig.

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...