I have a developed a model that does a series of calculations on raster layers in ArcGIS Pro 2.5. About 90% of these layers are saved to the memory (i.e. memory/rasterlayer). When I run this model in "Edit" mode, it runs perfectly. However, when I open the model in the geoprocessing pane, it fails with a bunch of errors saying that it cannot overwrite the layers.
1. What do I change to ensure it will overwrite these layers?
2. Technically this should not even be happening, because I delete the temporary memory space at the end of the model. Is this actually a different problem?
Some help would be greatly appreciated! I have provided some screenshots below for context.