ProjectAcoustics icon indicating copy to clipboard operation
ProjectAcoustics copied to clipboard

ACE file not created?

Open twoz opened this issue 2 years ago • 3 comments

When trying to run bake locally, all seems to be running fine, except that the ACE file is nowhere to be found.

Tail of output from RunLocalBake.bat :

Starting final task, CollateTritonTask
Creating new ACE file

E:\Program Files\Epic Games\UE_5.0\Engine\Plugins\ProjectAcoustics\AcousticsData>REM Clean up 

E:\Program Files\Epic Games\UE_5.0\Engine\Plugins\ProjectAcoustics\AcousticsData>REM .ACE file is produced upon successful bake. Manually import this into your project content.

Platform: Unreal 5.1 Bake tools from: https://www.microsoft.com/en-us/download/details.aspx?id=104116

twoz avatar May 22 '22 21:05 twoz

@twoz I think we'll need a little more information from you to help narrow this down. It might be helpful to have a scene with only a few probes to cut down on the bake times while we try to figure this out.

  • Do you have a working directory that reflects the time that the bake process started?
  • Do you have any *.enc files in that directory? Those files should be deleted at the end of the process, but it would be good to know if those *.enc files (one per probe) are getting created while the bake process is running.
  • Could you try to run this local bake process in a directory outside of the project directory? For example, try making a directory called E:\LocalBake and running the bake process in that directory.
  • What's the locale for your machine? We might be screwing up the creation of the working directory based on the locale of your PC.

Thanks, Noel

NoelCross avatar May 23 '22 15:05 NoelCross

Thanks @NoelCross for a prompt reply. Answering:

  • Do you have a working directory that reflects the time that the bake process started? - Yes.
  • Do you have any *.enc files in that directory? - Yes. They seem to be created correctly and removed after the bake ends.
  • Could you try to run this local bake process in a directory outside of the project directory? - Yes, same result.
  • What's the locale for your machine? We might be screwing up the creation of the working directory based on the locale of your PC. - That doesn't seem to be the problem, the working directory is being created.

I try running a bake on minimal example, with only 16 probes. After running bake, a working directory is being created with only two files in it: Minimal_Default_AcousticsData.vox and Minimal_Default_AcousticsData_config.xml.

I attach a full output of running RunLocalBake.bat (out.txt) and config (changed ext to .txt): out.txt Minimal_Default_AcousticsData_config.xml.txt

twoz avatar May 23 '22 19:05 twoz

@twoz we've been trying to reproduce this issue and have not been able to. It appears that the process Triton.LocalProcessor.exe is crashing while creating the new ACE file. Typically, you will see output like this in the log:

Starting final task, CollateTritonTask Creating new ACE file Filling runtime voxel map... Compressing runtime voxel map... Compression done. progress: 99% Compressed 0.03 MB raw voxel data to 0.02 MB. Done. Output written to: Bistrot_AcousticsData.ace

Finished CollateTritonTask

Total processing time: 93.82 seconds

LocalProcessor finished successfully.

Could you check your "View reliability history" and see if it references a crash dump file that you could share with us? If we have a crash dump file, that'll help us understand things better.

Also, if you can, would it be possible for you to share the *.vox file that you used with the *_config.xml file in the previous example? That should help us identify where the crash is coming from in our code.

Thanks, Noel

NoelCross avatar May 23 '22 23:05 NoelCross

Closing for lack of activity. If you're still having this issue with our latest release, please let us know.

MikeChemi avatar Nov 18 '22 17:11 MikeChemi