I created a model that uses the Parse Path utility to pass the name of a parameter input value (a spreadsheet in my case) to various output feature classes using inline variable substitution. The model works great when run in ModelBuilder, and after it successfully runs in ModelBuilder, I can also run it as a tool from toolbox without issue. But when I first open up my project and attempt to run my model as a tool from toolbox, ArcGIS Pro crashes - the program, not just the tool - with no error message.
I figured the issue must be somewhere else in my model but through troubleshooting, I've learned that if I run Parse Path alone in ModelBuilder first (by right clicking the Parse Path utility and clicking Run) I can close ModelBuilder then run the whole model from toolbox and that seems to work fine.
Then I was able to isolate the issue in a separate model with just the Parse Path utility. Works fine in ModelBuilder and from toolbox - but only after first run in ModelBuilder. Otherwise a fresh instance of Pro will crash. I've tried selecting several different files types from several different folder locations. What am I missing here?
I'm using ArcGIS Pro 2.6.3 and Format Name, Extension and Workspace is enabled for Parse Path.