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

Cache of conan-ue4 is not invalidated #22

Open
wl2776 opened this issue Jan 30, 2023 · 0 comments
Open

Cache of conan-ue4 is not invalidated #22

wl2776 opened this issue Jan 30, 2023 · 0 comments

Comments

@wl2776
Copy link

wl2776 commented Jan 30, 2023

Configuration

OS: Windows 10
UE version: 4.26
conan-ue4cli version: 0.0.38

Steps to reproduce

  1. 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
  1. Remove cloned sources (del /s/q c:\path1\UnrealEngine)
  2. Remove all generated packages from the local conan cache (conan remove "*adamrehn*")
  3. 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)
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

1 participant