This only occurs if I store the samples in a folder within the Rocket directory. Also, the shooter sample crashes within 8 seconds of loading the Uproject in rocket, or playing in the simulator.
For example:
C:\Program Files\Rocket\Samples\ShooterSample
Does not allow me to make changes to, save, or generate a solution for the sample.
However, if I move those samples into another directory (say, drag that Samples folder to desktop), then I’m free to do whatever I wish with the files. The shooter sample also plays fine.
Has anyone else run into this issue before? It seems to stem from a privilege issue, because when I try to build a solution from the sample when it is within the Rocket directory, I receive this error:
Setting up Rocket project files...
Discovering modules, targets and source code...
UnrealBuildTool Exception: ERROR: Unable to create directory 'C:\Program Files\Rocket\Samples\ShooterGame\Intermediate\BuildData\BuildRules\RocketProjectFileGeneratorModuleRules.dll' for intermediate assemblies (Exception: Access to the path 'C:\Program Files\Rocket\Samples\ShooterGame\Intermediate\BuildData\BuildRules
' is denied.)
GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files
.
Press any key to continue .
. .
we’ve been having these problems since this build came out.
best plan is to dl/unpack away from the C: drive eg:- i use
E:\RocketGames\ShooterGame
also to be careful is that any project you create in
C:\Users\Geodav\Documents\Rocket Projects
need to be created as a code project as you can’t generate the code files afterwards
“also to be careful is that any project you create in C:\Users\Geodav\Documents\Rocket Projects\ need to be created as a code project as you can’t generate the code files afterwards”
I’ve noticed this as well. I wanted to look behind the code for the swinging sample, (despite knowing it was a blueprint project) only to discover that you cannot generate a solution for it (probably because it was initially created as a blueprint project)
Sorry, we knew about the issue but discovered it too late. We’ll try to fix this in a future release.
We don’t really support samples being under the Rocket directory. Rocket is designed to be installed into C:\Program Files and never really touched. Your project should go somewhere convenient for you, but you shouldn’t be saving files under the installed Rocket folder.
–Mike
Thanks Mike, that’s what I figured as well.
I just wanted to make sure, and thought this thread may be helpful for others, in case they ran across the same issue.