yes it is positive movement. Now look in file
C:\Users\[YourNameHere]\Documents\My Games\Sid Meier's Civilization VI\Logs/Database.log
There should be some error message(s) in this file related to your mod's files. Returning to the main menu is usually indicative of refering to something that does not exist within the game's database. If I do this as part of a definition of a Building
Code:
<Buildings>
<!-- ============ Town Square ============= -->
<Row BuildingType="BUILDING_EARLYBUMP1"
Name="LOC_BUILDING_EARLYBUMP1"
Description="LOC_BUILDING_EARLYBUMP1_DESC"
PrereqDistrict="DISTRICT_CITY_CENTERS"
PrereqTech="TECH_POTTERLY"
Cost="60"
PurchaseYield="YIELD_GOLD"
AdvisorType="ADVISOR_GENERIC"
Maintenance="1" />
I would get invalid reference errors in the Database.log related to
Buildings.PrereqDistrict and
Buildings.PrereqTech having bad values because if you look closely at what I have specified I have them spelled wrong. This causes the game to stop executing the mods and return to the main menu.
And invalid reference like this is the most common reason for getting shoved back to the main menu but it is not the only reason this can occur. For xml files the database log file will tell you which xml file the error occured in. If there is more than one fatal error within the same file, tho, you only get the error for the topmost one encountered. After you fix that error you may find others lower-down within the same file.
Also the order in which files are loaded within a mod can have an effect on getting these invalid reference errors. You may referencing something within your mod, but if it has not
successfully been added to the game's database before the other part of the mod references it, you can get shoved back to the main menu.
All other things being equal, multiple files within one <UpdateDatabase> action of the modinfo file are done alphabetically by file name or in the order the files appear in the main <Files> section of the modinfo file,
not the order they are listed in the <UpdateDatabase> action.