Can't Generate Project Files - Unauthorized access to other PC's accounts
I have been working with UE4 and C++ for soon 2 years so I'm not new to this.
Today I tried generating project files again, but the following error message appeared:
In the 2nd screen you can see that the system is looking for some log file in my primary account, which I'm always using (full name as user). In the 2nd line of the first screen, you can see that it wants to access the user with only my first name, which is a 2nd user I once created on my PC for some reason, which I literally never used. I have also now deleted this user, but it's the same error message coming up and I haven't changed anything really.
I already tried re-installing the engine, which didn't help. I also tried out unchecking the read-only status for UE4, as that was the only clue I found regarding unauthorized access disabling solution generation. Nothing happened. This is seriously hindering my ability to work and I have no clue whatsoever what is causing this or how I can change this.
EDIT: Going by another user's question, it seems to be a white space issue and I just coincidentally had a 2nd user with the same name as the "cut" part of the actual path. This needs fixing ASAP.
I found out that the actual problem was not because of another account, that was just a coincidence. The actual problem is a whitespace problem, cutting the path of the project off when encountering a white space.
I wrote a batch script that anyone can use to build any project. Paths inside of the batch script might need to be changed though.
The first path should be self-explanatory. The second path has to point to the folder where your unreal projects are situated in, with the added \%projectName%\%projectName%.uproject", so at the very least you need to replace the "FirstName LastName" part with your actual name. This batch script will ask you to type in the name of your project, for example "BestProject" (without the quotation marks).
answered Oct 23 '18 at 09:04 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here