# \[SOLVED\] "Unknown Error" when calculating a model

**URL:** <https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962>\
**Category:** Asset Creation\
**Tags:** realityscan\
**Created:** [December 19, 2019, 10:06am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962 "2019-12-19T10:06:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_c11e235903](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_c11e235903](https://forums.unrealengine.com/u/Anonymous_c11e235903)\
**Post date:** [December 19, 2019, 10:06am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/1 "2019-12-19T10:06:13Z")

</div>

Hi, I’ve met a bug in Reality Capture which keeps me from calculating models. Basically the calculation fails with an “Unknown Error” (no details at all).

Some more information: I was using the time-limited version of RC before (where you could pay extend the license for 15 days or so) and I’ve switched to the PPI version.

The app mentioned getting rid of some cache files in a temp folder and I said okay.

After I launch the app the pictures alignment works fine and I can calculate a Preview model. But if I try to calculate a Normal model after that then I get the “Unknown Error”. And after that I cannot calculate anything and need to shut down the app.

I’ve tried completely uninstalling RC and reinstalling it, alas it didn’t fix the issue.

Here is a screenshot with the console visible after I calculated a Preview model, then failed to calculate a Normal model and then failed again to calculate a Preview model:

Cheers,

Seith

---

<div class="post-metadata">

**Author:** ![Anonymous\_9d3e40dc37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_9d3e40dc37](https://forums.unrealengine.com/u/Anonymous_9d3e40dc37)\
**Post date:** [December 19, 2019, 5:44pm UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/2 "2019-12-19T17:44:15Z")

</div>

Hello dear user,

Please try the same process in the pre release version and report back whether something has changed.

[http://rcbuilds.capturingreality.com/20191212-667-24978BBF-169C-45DC-9674-D181A3961A17.msi](http://rcbuilds.capturingreality.com/20191212-667-24978BBF-169C-45DC-9674-D181A3961A17.msi?fbclid=IwAR0VRfpXWxdq17h_pGm36BtcsE_OFMUTA5ZvxzVowoWaegjfkCaK3DfEPHw)

---

<div class="post-metadata">

**Author:** ![Anonymous\_c11e235903](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_c11e235903](https://forums.unrealengine.com/u/Anonymous_c11e235903)\
**Post date:** [December 19, 2019, 6:52pm UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/3 "2019-12-19T18:52:33Z")

</div>

Hi Erik,

I just tried the pre-release version (with exactly the same pictures) and RC failed to calculate the model again.

Here is the screenshot of the error (it’s different from last time though):

And when I tried to follow the instructions and re-run the model calculation I got this error:

After that (while I was writing this message) RC spontaneously crashed (closed on its own).

---

<div class="post-metadata">

**Author:** ![Anonymous\_9d3e40dc37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_9d3e40dc37](https://forums.unrealengine.com/u/Anonymous_9d3e40dc37)\
**Post date:** [December 20, 2019, 6:29am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/4 "2019-12-20T06:29:42Z")

</div>

Oh okay we can see that there are corrupted depth maps causing this issue most likely. Please try clearing your RC cache and reconstruct again, meanwhile we are very sorry for this inconvenience.

---

<div class="post-metadata">

**Author:** ![Anonymous\_c11e235903](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_c11e235903](https://forums.unrealengine.com/u/Anonymous_c11e235903)\
**Post date:** [December 20, 2019, 7:16am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/5 "2019-12-20T07:16:28Z")

</div>

Sure, how can I clear the RC cache? Is it a menu option in RC? Or do I need to delete files manually? If so, where are the files located, please?

---

<div class="post-metadata">

**Author:** ![Anonymous\_9d3e40dc37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_9d3e40dc37](https://forums.unrealengine.com/u/Anonymous_9d3e40dc37)\
**Post date:** [December 20, 2019, 7:47am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/6 "2019-12-20T07:47:08Z")

</div>

There is an option in Workflow tab - settings - Clear cache - Clear button.

There also is an option to Clear cache on exit - older than “X” days/weeks/months, this can nicely save your disk space, but take this just as a tip, to fix your issue use the steps above.

---

<div class="post-metadata">

**Author:** ![Anonymous\_c11e235903](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_c11e235903](https://forums.unrealengine.com/u/Anonymous_c11e235903)\
**Post date:** [December 20, 2019, 8:16am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/7 "2019-12-20T08:16:18Z")

</div>

Hey Erik, I just cleared the cache and attempted to calculate the model again to no avail (same error as before):

More information:

After that error I clicked on the RC icon in the top left corner and chose New Project. After which I got the usual confirmation dialog asking me if I wanted to save the current project first. I clicked on No and the the dialog disappeared. But the same project remained open.

In other words it seems I can’t do a New Project after the error. I would expect the scene to be cleared when doing a New Project but instead I have to close RC and relaunch it.

---

<div class="post-metadata">

**Author:** ![Anonymous\_9d3e40dc37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_9d3e40dc37](https://forums.unrealengine.com/u/Anonymous_9d3e40dc37)\
**Post date:** [December 20, 2019, 8:34am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/8 "2019-12-20T08:34:32Z")

</div>

Then I am afraid you would have to clear the cache and make a new project with a new alignment and reconstruction. It is very strange but I will surely report this to our devs, if you could give us exact repro steps to the error it could help us a lot.

---

<div class="post-metadata">

**Author:** ![Anonymous\_c11e235903](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_c11e235903](https://forums.unrealengine.com/u/Anonymous_c11e235903)\
**Post date:** [December 20, 2019, 9:09am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/9 "2019-12-20T09:09:28Z")

</div>

Mmh. So I tried calculating a model from a different set of pictures and this time I didn’t get any error…

… But after the model is calculated RC refuses to export the model:

(I don’t even see the price preview in the top right corner, which I believe is supposed to be there)

Also, RC does not let me save the project. I can navigate to the folder, give the project a name and click Save but in the end nothing get saved at all.

I think the issue most certainly comes from the fact that I was using RC with the previous license system and the new PPI is conflicting with it. Like the previous install of RC messed up the new one (although I’ve already uninstalled RC and reinstalled it).

This is starting to be a big problem. Could you please tell me how to completely wipe RC from my system (including cache, temp files, registry entries, etc.) so that I can reinstall it from scratch?

---

<div class="post-metadata">

**Author:** ![Anonymous\_c11e235903](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_c11e235903](https://forums.unrealengine.com/u/Anonymous_c11e235903)\
**Post date:** [December 20, 2019, 10:26am UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/10 "2019-12-20T10:26:17Z")

</div>

Alright I’ve completely uninstalled RC, deleted all the cache files, deleted the remaining folders in Program Files and AppData, and I’ve manually removed the CapturingReality key entries from Window’s registry.

I think those were causing the problems as I’ve reinstalled RC and so far it looks like it’s working now!

---

<div class="post-metadata">

**Author:** ![Graham3D3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Graham3D3D](https://forums.unrealengine.com/u/Graham3D3D)\
**Post date:** [August 21, 2023, 12:43pm UTC](https://forums.unrealengine.com/t/solved-unknown-error-when-calculating-a-model/709962/11 "2023-08-21T12:43:10Z")

</div>

How do I do that? I have the same problem.  
Where are the Reality Capture Keys in the Registry?  
Are the files in Appdata only in one folder?
