-
Notifications
You must be signed in to change notification settings - Fork 36
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
Crash due to body material not being available on start #111
Comments
Interesting. Looks like the players body material has not been copied. That error is also thrown for handles which did not ever point to a valid object, so most likely Destroyed is not correct here, but that's an other issue! 😄 Can you delete I'll take a look at it when I get home! PS: I would suggest changing the issue title to "Crash due to body material not being available on start" or something... |
I already retried it with a cleared cache a few times, but the same error always happens. And I updated the title, but you can also do that yourself ;) |
There are some other executables, such as |
I tried REGothCharacterMovementTester, it has the exact same error (with cleared cache). REGothWorldCacheTest, REGothWorldMeshViewer and REGothCharacterViewer seem to work (there are no errors). |
EDIT: Looking into a little closer. Commit e080948 was a bugfix so it works from cache, but the two lines in VisualCharacters onInitialized are always executed even if the objects are not loaded. I am running into the same problem. REGoth-bs/src/components/VisualCharacter.cpp Lines 40 to 46 in 408a0db
The mSubRenderable has not been initialized yet REGoth-bs/src/components/VisualSkeletalAnimation.cpp Lines 26 to 38 in 408a0db
I dont know enough about the component, but maybe it is enough to call buildObjectSubtree in the onInitialize function. |
When |
I'm just running into one error after another here. But this seems unrelated to my previous problems, and I didnt find any open issue for it either. This is with Gothic 2, and running on Manjaro Linux, plus latest master (408a0db).
I am getting this error after running
./REGoth ~/workspace/gothic2/
with an empty cache:The text was updated successfully, but these errors were encountered: