phr00t / FocusEngine

Focus Game Engine. This is Stride/Xenko fast-tracked for Phr00t's Software games. Improvements over the original Focus on Vulkan support, PC platforms, VR, performance & ease. Cherry-picks commits from other forks as needed.
MIT License
98 stars 11 forks source link

Errors creating some Xenko template projects #89

Closed phr00t closed 2 years ago

phr00t commented 5 years ago

When creating some new template projects (like FPS Template and Third Person Template), a bunch of errors occur and don't let you continue.

If you create the project with an "official" branch of Xenko, you can upgrade it to my fork and build it properly.

Some of the errors include:

ColliderShapeAsset: 9ebffcd2-f60a-4b83-998b-1b22495f531e: System.ArrayTypeMismatchException: Source array type cannot be assigned to destination array type. errors.

cannot delete asset from path" errors referring to the files in the /Assets/ folder

Might be related to physics changes specific in this fork. Eideren's build of Xenko, with physics updates (but not with all my other improvements), can create templates. One possible place this "error" may exist: I removed some boolean values from Rigidbodies, like "IsKinematic", since RigidBodyType stores that information -- so no other boolean is needed (which otherwise leads to confusion etc.). The template might be trying to set this value, perhaps?

May need to debug GameStudio and put a breakpoint on where the exception is being caught, to see what asset is trying to be loaded or set.

phr00t commented 5 years ago

ColliderShapeAsset problem fixed with this commit: https://github.com/phr00t/xenko/commit/f9070993d56f3c30fa253b54703b7034ab173401

Still getting "cannot delete asset from path" errors, though.

phr00t commented 5 years ago

Apparently the projects get created correctly, but it doesn't let you create & open it the first time due to the "cannot delete asset from path" errors. If you browse for the created project after, it will let you open it.

phr00t commented 2 years ago

Fixed with https://github.com/phr00t/FocusEngine/commit/b7c2c180626c7984b62346ec45d13bde31381cd1