Cache of conan-ue4 is not invalidated
wl2776 opened this issue · 0 comments
wl2776 commented
Configuration
OS: Windows 10
UE version: 4.26
conan-ue4cli version: 0.0.38
Steps to reproduce
- Generate packages with UE4 third-party components as described in the instruction
cd c:\path1
git clone --depth 1 -b 4.26.2-release git@github.com:EpicGames/UnrealEngine.git
ue4 setroot c:\path1\UnrealEngine
ue4 conan generate
- Remove cloned sources (
del /s/q c:\path1\UnrealEngine
) - Remove all generated packages from the local conan cache (
conan remove "*adamrehn*"
) - Repeat step 1, but use another path for UE4 sources
cd c:\path2
git clone --depth 1 -b 4.26.2-release git@github.com:EpicGames/UnrealEngine.git
ue4 setroot c:\path2\UnrealEngine
ue4 conan generate
The last operation, ue4 conan generate
, looks for library paths into %AppData%\ue4cli\cache
instead of searching through local file system. It can seen with the following snippet
from ue4lib import UE4Lib
png = UE4Lib("UElibPNG")
print(png)