Skip to content
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

Invalid or corrupted .obj file #540

Open
wyj1111kkk opened this issue Jan 6, 2025 · 1 comment
Open

Invalid or corrupted .obj file #540

wyj1111kkk opened this issue Jan 6, 2025 · 1 comment

Comments

@wyj1111kkk
Copy link

Sorry for the interruption. When I try to do the vehicle side of things, the .obj file does not open when the final compilation results in the following situation. But when I link that .obj file, Visual Studio 2022 reports an error showing invalid or damaged parts. What is the reason for this?
Picture

@dariomangoni
Copy link
Member

As you can see the specified path is a relative path so the location when it expects to find the file depends on your current working folder.
Can you please go to your build directory and:

  • check that you do have a bin/data folder?
  • try to run the demo by manually going into bin/Release (or bin/Debug)

If this works then it's just a matter of a wrong working folder: did you manually changed the configuration of demos in Visual Studio?
In VS, try to right-click on your demo, Properties>Configuration Properties>Debugging and make sure that the Working Directory is set to bin/Release (or bin/Debug).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants