FAQ - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki

Problems with the Navmesh

Q: The spawns and/or enemies don't seem to work properly. The players reappear wherever they want, sometimes under the map, sometimes above it. Enemies don't seem to move but do their other functionalities normally.

A: Did you place a navmesh on the map? if so, move it around a bit, sometimes it needs to be updated. ALSO: check if enemies are removing part of the navmesh. If so, it's because the models of the AI are set to block navmesh, when it shouldn't. select all the meshes/models of your AI and set them to not block navmesh.


Problems with git LFS being lost and my archive being 1KB

Q: sometimes, when i merge with develop, it seems to delete things that were never supposed to be deleted.

A: This problem has 2 ways that it can be resolved

  • First one it to search the archive in the remote GitHub repository, download it, and replace the corrupted archive with >it.
  • Another way is to use the next lines of code in commands from the root of the project:
git lfs fetch --all
git lfs pull 

if you get the following error Error you have to make another few steps in order to fix git lfs problem as following video shows

Video part 1 > https://liveutad-my.sharepoint.com/:v:/g/personal/inaki_haba_live_u-tad_com/ERnbIyuafUpIu8Vl5WjVW10BW_E1d4BrXcLSsxR4n3L2hw?e=lMCevc

Video part 2 > https://liveutad-my.sharepoint.com/:v:/g/personal/inaki_haba_live_u-tad_com/Eb3962NUbY9LgxtFfMrQIE0BdWr0lZn6cP0NK1Ptre22aQ?e=epMxu8


Problems when opening the project after cloning

Q: When opening the project, an error saying "You are missing the plugin Productivity Tools" (or similar) shows up.

A: "Productivity Tools" is a plugin you can download from the UE4 Marketplace. You just need to download it and click on "Add to engine". That way, when you open the project again, it should start normally.


Problems with git LFS Lost Directory or No Error

Q: I'm trying to push something to a branch on remote from local and I'm getting the following error: cannot spawn .git/hooks/pre-push: no error or this one: cannot spawn .git/hooks/pre-push: No such file or directory

A: It's a rare issue when there is some difference between LFS instances on remote and local.

To solve this problem we need to follow the next lines of code in commands from the root of the project (if any of the expected results is different from your own results, don't continue and ask for more info/help):

1st - check if this is the real problem:
git lfs update
Expected result:
$ git lfs update
Hook already exists: pre-push

To resolve this, either:
  1: run `git lfs update --manual` for instructions on how to merge hooks.
  2: run `git lfs update --force` to overwrite your hook.
2nd - update lfs:
$ git lfs update --force
Expected result:
Updated git hooks.
3rd - check result:
$ cat .git/hooks/pre-push
Expected result:
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; }
git lfs pre-push "$@"

For more info check: https://github.com/git-lfs/git-lfs/issues/2667


How to reset BP from the level to keep the changes from Defaults BP

Q: What happen if I modified a Blueprint on the level map, and after that changes I want to reset we the original values from the Blueprints

A: easy-peasy. Select the blueprint on the level map that you want to reset, then find a blue button "Edit Blueprint" and finally "Reset Instance changes to blueprint default"