File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
com.unity.netcode.gameobjects/Editor Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -134,9 +134,14 @@ private static bool IsActiveSceneInBuildList()
134134 {
135135 Debug . LogError ( $ "Active scene { activeScene . name } with path ({ activeScene . path } ) is potentially a duplicate of " +
136136 $ "scene { sceneAsset . name } with a path of ({ scene . path } )! Excluding from automatically adding to the scenes in build list!") ;
137- // Exit as if it did find a perfect match
138- return true ;
139137 }
138+ else
139+ {
140+ Debug . LogError ( $ "Active scene { activeScene . name } was found but the active scene asset hash value ({ activeSceneHash } ) was " +
141+ $ "not the same as the the one in the scenes in build list ({ sceneAssetHash } )! Excluding from automatically adding to the scenes in build list!") ;
142+ }
143+ // Exit as if it did find a perfect match
144+ return true ;
140145 }
141146 }
142147 return false ;
You can’t perform that action at this time.
0 commit comments