-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled exception thrown: read access violation. **viewportContextManager** was nullptr. #18459
Comments
Are you able to attach logs to indicate where the issue is? Thanks. |
@moudgils , here are files that can help you with my issue.
Do we require a certain version of msvc compiler? I just need to understand if we are just restricted to a certain version because I am using vs2022 right now and this is the msvc version I have
|
I tried recompiling the engine again, still having the same results. where I am currently using my fork with an up-to-date main branch. |
Hey, I tried compiling using vs2019 and is still not working I'm currently using the main branch |
Hey ! Seing this line in your log To me it seems that some dependent .dll were not built. As you are building from source, what I usually do in cmake is set the LY_PROJECTS to the path of the project that I want to work on. This should generate your visual studio solution with the project, and build the required gems |
So in your case, I think you built o3de editor target from source with no project. Then created a project, and launched your o3de build on said project. But even the most simple project needs some gems which are not required by the editor target (to be clear, you should always only build the editor target else build time are way too long, and with the LY_PROJECTS set in cmake, this will build your project dependent gems as well). I think that the doc could be improved and made way clearer, as there are multiple ways to build the engine (project centric, engine centric etc). We should also think of better failsafe when trying to launch a project to check that required gems are available |
Describe the bug
Can't run o3de editor
Assets required
nothing, it crashes on startup
Steps to reproduce
Steps to reproduce the behavior:
--project-path <path>
argsExpected behavior
Able to run the editor
Actual behavior
Exception
Found in Branch
main
Call stack
The text was updated successfully, but these errors were encountered: