Subscenes reimporting after any script change.

The subscene reimports even when it doesn’t even reference to the script I modified. Is this a expected behavior, and how can I resolve this?

https://docs.unity3d.com/Packages/com.unity.entities@1.2/manual/baking-overview.html

So according to the manual one of these conditions was met:

  • The entity scene is missing (not present on disk).
  • The authoring scene has been modified and the entity scene is outdated.
  • The baking code is in an assembly that doesn’t contain a single [BakingVersion] attribute. This means that the assembly has been modified and the entity scene is outdated.
  • A [BakingVersion] attribute on baking code has been modified.
  • The Entities Project Settings have been modified.
  • You request a reimport from the subscene Inspector. This feature is intended for troubleshooting.
  • You clear the baking cache in the Editor Preferences.

Unfortunately after some digging I couldn’t locate the problem. Now I’m doing my project with all subscenes opened, it takes more RAM but does not take 2 minutes to reimport every time I change a variable in a script. Thank you still.