Console is being spammed with "Infinite Reload" error messages on the Development branch
SimonDarksideJ opened this issue · 3 comments
XRTK - Mixed Reality Toolkit Bug Report
Describe the bug
Even on a fresh clone, opening the XRTK development branch in any version of Unity, the console is being spammed with "Infinite Import loop" error messages.
DOES NOT OCCUR in a project that consumes the built UPM packages.
To Reproduce
- Create a fresh clone of the XRTK, recursive.
- Open Unity in the XRTK project
- Look at console
Expected behavior
No Infinite import loop error
Actual behavior
See error below
Screenshots
An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them:
Packages/com.unity.xr.oculus/Third Party Notices.md
Packages/com.needle.compilation-visualizer/package.json
Packages/com.unity.xr.arsubsystems/CHANGELOG.md
Packages/com.unity.xr.magicleap/Third Party Notices.md
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Occlusion.mat
Packages/com.xrtk.ultraleap/CHANGELOG.md
Packages/com.unity.modules.tilemap/package.json
Assets/XR/Loaders/Oculus Loader.asset
Packages/com.unity.xr.magicleap/Tests/Editor/Manifest/Privileges_0.20.0.txt
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentPink.mat
Assets/XRTK.Generated/Lumin/Profiles
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Magenta.mat
Packages/com.unity.xr.legacyinputhelpers/CHANGELOG.md
Assets/XRTK.Generated/BuildInfo/BuildInfo.asset
Packages/com.unity.xr.management/LICENSE.md
Packages/com.unity.mobile.android-logcat/LICENSE.md
Packages/com.xrtk.core/Runtime/StandardAssets/Materials/3DTextSelawikLight.mat
Packages/com.xrtk.core/Editor/Data/EditorWindowOptions.json
Packages/com.unity.ugui/package.json
Packages/com.xrtk.wmr/package.json
Packages/com.unity.xr.management/Tests/TestTooling/README.md
Packages/com.unity.scriptablebuildpipeline/README.md
Packages/com.unity.xr.interactionsubsystems/LICENSE.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/MixedRealityHandController_left_black.png
Packages/com.unity.xr.arsubsystems/ValidationExceptions.json
Packages/com.xrtk.core/Runtime/StandardAssets/Prefabs/Gizmos/GizmoLeft.prefab
Packages/com.unity.modules.androidjni/package.json
Packages/com.unity.textmeshpro/Editor Resources/Shaders/TMP_Properties.cginc
Packages/com.unity.addressables/ValidationExceptions.json
Packages/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellPS.txt
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/Generic_controller_right_white_scaled.png
Packages/com.unity.2d.tilemap/Tests/Sprites/blue_spritesheet.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/BoundingBoxHandle.mat
Packages/com.xrtk.core/Runtime/StandardAssets/Icons/script_icon.png
Packages/com.unity.textmeshpro/Editor Resources/Shaders/TMP_SDF_SSD.cginc
Packages/com.unity.ide.rider/CHANGELOG.md
Packages/com.unity.modules.unitywebrequestassetbundle/package.json
Packages/com.xrtk.core/Runtime/StandardAssets/Fonts/selawksl.ttf
Packages/com.unity.xr.magicleap/CHANGELOG.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignTop_Light.psd
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/BoundingBoxHandleGrabbed.mat
Packages/com.unity.modules.physics/package.json
Packages/com.xrtk.sdk/Runtime/Features/UX/Animations/Cursors/TeleportCursor/TeleportCursorDisabled.anim
Assets/XRTK.Generated/SDK/Profiles
Packages/com.xrtk.spatial-persistence/package.json
Packages/com.unity.modules.jsonserialize/package.json
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Emerald.mat
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignLeft_Light.psd
Packages/com.xrtk.core/Runtime/StandardAssets/Materials/3DTextSelawik.mat
Packages/com.unity.modules.physics2d/package.json
Packages/com.xrtk.lumin/package.json
Packages/com.unity.scriptablebuildpipeline/ValidationExceptions.json
Packages/com.xrtk.sdk/Runtime/Features/UX/Meshes/Cursors/DefaultCursor.fbx
Packages/com.xrtk.sdk/Runtime/Features/UX/Animations/Cursors/DefaultCursor/DefaultCursorWaitingAnim.anim
Packages/com.unity.modules.unitywebrequesttexture/package.json
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/Generic_controller_left_white_scaled.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_White.mat
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignMiddle_Light.psd
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/WindowsMixedRealityMotionController_left_black_scaled.png
Packages/com.unity.nuget.newtonsoft-json/Third Party Notices.md
Packages/com.xrtk.sdk/Runtime/StandardAssets/Icons/pin_off_outline_icon.png
Packages/com.xrtk.sdk/Runtime/Features/UX/Animations/Cursors/TeleportCursor/TeleportCursorController.controller
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/MixedRealityHandController_right_white_scaled.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusGoController_black_scaled.png
Packages/com.unity.xr.arsubsystems/package.json
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentMagenta.mat
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/LuminController_left_white.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusTouchController_left_black.png
Packages/com.unity.test-framework/CHANGELOG.md
Packages/com.unity.xr.legacyinputhelpers/README.md
Assets/XRTK.Generated/WindowsMixedReality/Profiles
Assets/XR/Settings/Magic Leap Settings.asset
Packages/com.unity.textmeshpro/CHANGELOG.md
Packages/com.unity.xr.windowsmr/Tests/Runtime/Resources/Materials/YFlipColorMesh.mat
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentDarkGray.mat
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentGray.mat
Packages/com.unity.modules.director/package.json
Packages/com.unity.ugui/CHANGELOG.md
Packages/com.unity.subsystemregistration/package.json
Packages/com.unity.xr.management/CHANGELOG.md
Packages/com.unity.2d.tilemap/Tests/Sprites/noextents.png
Packages/com.unity.ext.nunit/CHANGELOG.md
Packages/com.unity.ide.visualstudio/LICENSE.md
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Blue.mat
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/LuminController_right_white_scaled.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/TooltipWithoutBorder.mat
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusRemoteController_black_scaled.png
Packages/com.unity.2d.tilemap/CHANGELOG.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignLeft.psd
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/LuminController_right_black.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/ViveWandController_left_white_scaled.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/ViveWandController_left_black.png
Packages/com.unity.ext.nunit/LICENSE.md
Assets/XRTK.Seed/Seed/XRTK_Logo.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/ViveWandController_right_black.png
Packages/com.unity.2d.tilemap/Tests/Tiles/Prefab.asset
Packages/com.xrtk.core/Runtime/StandardAssets/Shaders/MixedRealityTextMeshPro.shader
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignTop.psd
Packages/com.unity.addressables/readme.md
Packages/com.xrtk.sdk/Runtime/Features/UX/Meshes/HandJoint.fbx
Packages/com.unity.ide.visualstudio/ValidationExceptions.json
Packages/com.unity.textmeshpro/Package Resources/TMP Examples & Extras.unitypackage
Packages/com.unity.ide.visualstudio/ThirdPartyNotices.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignCapLine.psd
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/TooltipLines.mat
Packages/com.unity.modules.imageconversion/package.json
Packages/com.unity.mobile.android-logcat/CHANGELOG.md
Packages/com.xrtk.gltf/README.md
Packages/com.xrtk.sdk/package.json
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Lime.mat
Packages/com.xrtk.lumin/LICENSE.md
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_0.asset
Packages/com.unity.xr.windowsmr/Tests/Runtime/Resources/Audio/FOA_speech_ambiX.wav
Packages/com.unity.ide.vscode/LICENSE.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusRemoteController_white.png
Packages/com.unity.xr.magicleap/LICENSE.md
Packages/com.unity.addressables/Editor/Icons/AddressableAssetsIconY1756Scene.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Pink.mat
Packages/com.unity.ide.visualstudio/Editor/COMIntegration/Release/COMIntegration.exe
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusTouchController_left_white.png
Assets/XRTK.Generated/SymbolicLinkSettings.asset
Packages/com.unity.xr.management/package.json
Packages/com.xrtk.oculus/Editor/BuildPipeline/AndroidManifest.OVRSubmission.xml
Assets/Plugins/Lumin/manifest.xml
Packages/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt
Packages/com.xrtk.sdk/README.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/MixedRealityHandController_left_black_scaled.png
Packages/com.xrtk.oculus/package.json
Packages/com.xrtk.core/Runtime/StandardAssets/Icons/mic_icon.png
Packages/com.unity.xr.oculus/Runtime/UnitySubsystemsManifest.json
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_6.asset
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/DefaultMouseCursor.mat
Packages/com.unity.ide.vscode/CONTRIBUTING.md
Packages/com.unity.xr.interactionsubsystems/QAReport.md
Packages/com.unity.2d.sprite/Editor/UI/SpriteEditor/PolygonChangeShapeWindow.uxml
Assets/XRTK.Generated/SDK/Prefabs
Packages/com.xrtk.core/Runtime/StandardAssets/Shaders/InvisibleShader.shader
Packages/com.xrtk.sdk/LICENSE.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/MixedRealityHandController_right_black_scaled.png
Packages/com.xrtk.spatial-persistence/LICENSE.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignCapLine_Light.psd
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_25.asset
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_23.asset
Packages/com.unity.textmeshpro/Editor Resources/Gizmos/TMP - Dropdown Icon.psd
Packages/com.xrtk.core/Runtime/StandardAssets/Icons/settings_icon.png
Packages/com.unity.xr.oculus/LICENSE.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusTouchController_right_white_scaled.png
Packages/com.unity.modules.subsystems/package.json
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_8.asset
Packages/com.unity.modules.unityanalytics/package.json
Packages/com.unity.xr.magicleap/Runtime/Windows/UnityMagicLeap.dll.lib
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignRight.psd
Packages/com.unity.test-framework/package.json
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/BoundingBoxLines.mat
Packages/com.xrtk.spatial-persistence/README.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignCenter_Light.psd
Packages/com.unity.2d.sprite/README.md
Packages/com.unity.subsystemregistration/CHANGELOG.md
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_21.asset
Packages/com.unity.modules.imgui/package.json
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusTouchController_right_black_scaled.png
Packages/com.xrtk.gltf/LICENSE.md
Packages/com.unity.xr.arsubsystems/README.md
Packages/com.unity.xr.windowsmr/Runtime/UnitySubsystemsManifest.json
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Orange.mat
Packages/com.unity.modules.assetbundle/package.json
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/MixedRealityHandController_left_white_scaled.png
Packages/com.xrtk.core/Runtime/StandardAssets/Icons/ux_icon.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Charcoal.mat
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/ViveWandController_right_white.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/HandMesh.mat
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_24.asset
Packages/com.xrtk.lumin/README.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignBottom_Light.psd
Packages/com.unity.nuget.newtonsoft-json/CHANGELOG.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/OculusTouchController_right_white.png
Packages/com.xrtk.core/Runtime/StandardAssets/Shaders/XRTK_Wireframe.shader
Packages/com.unity.nuget.newtonsoft-json/link.xml
Packages/com.unity.addressables/package.json
Packages/com.unity.subsystemregistration/CONTRIBUTIONS.md
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/Oculus lineart attribution.txt
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_17.asset
Packages/com.unity.xr.windowsmr/README.md
Packages/com.xrtk.core/Runtime/Utilities/Async/ReadMe.md
Packages/com.xrtk.core/Runtime/StandardAssets/Fonts/selawk.ttf
Packages/com.xrtk.core/Runtime/StandardAssets/Prefabs/Gizmos/GizmoRight.prefab
Assets/XR/Settings/Mock HMD Build Settings.asset
Assets/XR/Loaders/Magic Leap Loader.asset
Packages/com.xrtk.core/Runtime/StandardAssets/Icons/mixed_reality_icon.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/LuminController_left_white_scaled.png
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_19.asset
Packages/com.unity.scriptablebuildpipeline/CHANGELOG.md
Packages/com.xrtk.ultraleap/package.json
Packages/com.xrtk.sdk/Runtime/Features/UX/Animations/Cursors/DefaultCursor/DefaultCursor.controller
Packages/com.unity.textmeshpro/PackageConversionData_Assets.json
Packages/com.xrtk.wmr/README.md
Packages/com.unity.ide.visualstudio/Editor/VSWhere/vswhere.exe
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_11.asset
Packages/com.unity.addressables/Editor/Icons/AddressableAssetsIconY1756Basic.png
Packages/com.xrtk.core/Runtime/StandardAssets/Models/GizmoRight.fbx
Packages/com.unity.xr.windowsmr/Tests/Runtime/Resources/Prefabs/Spotlight.prefab
Packages/com.xrtk.wmr/LICENSE.md
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentLightGray.mat
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/XboxController_white.png
Packages/com.unity.ugui/README.md
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_26.asset
Packages/com.unity.ext.nunit/package.json
Packages/com.unity.xr.oculus/README.md
Packages/com.unity.editorcoroutines/README.md
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_7.asset
Packages/com.xrtk.sdk/Runtime/StandardAssets/Icons/pin_outline_icon.png
Packages/com.xrtk.core/Runtime/StandardAssets/Fonts/selawkb.ttf
Packages/com.unity.ide.visualstudio/CHANGELOG.md
Packages/com.needle.compilation-visualizer/CHANGELOG.md
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_LightGray.mat
Packages/com.unity.textmeshpro/Editor Resources/Textures/SectionHeader_Dark.psd
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignRight_Light.psd
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_3.asset
Packages/com.unity.2d.sprite/CHANGELOG.md
Packages/com.xrtk.sdk/CHANGELOG.md
Packages/com.xrtk.core/Runtime/StandardAssets/Fonts/selawksb.ttf
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_Yellow.mat
Packages/com.unity.xr.magicleap/Tests/Editor/Manifest/Privileges_0.21.0.txt
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentPurple.mat
Packages/com.unity.modules.screencapture/package.json
Packages/com.unity.xr.oculus/CHANGELOG.md
Packages/com.unity.modules.animation/package.json
Assets/XR/Settings/Oculus Settings.asset
Packages/com.unity.2d.tilemap/README.md
Packages/com.unity.ide.visualstudio/package.json
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/Generic_controller_right_black_scaled.png
Packages/com.xrtk.sdk/Runtime/StandardAssets/Materials/Standard/Standard_TransparentCharcoal.mat
Packages/com.xrtk.core/CHANGELOG.md
Packages/com.unity.xr.magicleap/README.md
Packages/com.unity.modules.vr/package.json
Packages/com.unity.xr.legacyinputhelpers/ValidationExceptions.json
Packages/com.unity.2d.tilemap/Tests/Tiles/blue_spritesheet_4.asset
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/XboxController_white_scaled.png
Packages/com.xrtk.core/Runtime/StandardAssets/Textures/DefaultPointerDottedLine.png
Packages/com.unity.modules.umbra/package.json
Packages/com.unity.xr.interactionsubsystems/README.md
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignCenterGeo.psd
Packages/com.xrtk.ultraleap/LICENSE.md
Packages/com.unity.mobile.android-logcat/package.json
Packages/com.unity.test-framework/LICENSE.md
Packages/com.xrtk.core/Runtime/Utilities/Async/License.md
Packages/com.xrtk.sdk/Runtime/StandardAs<message truncated>
Additional context
Tested on Unity versions
- Unity 2019.4.35f1
- Unity 2020.3.26f1
- Unity 2021.2.8f1
On investigation, the errors seem to be caused due to the Symbolic links being unable to recreate themselves due to a write error.
Deleting the "linked" objects cleared the issue.
I suspect these files should not be in the repository and should be regenerated locally
You need to re-install git and disable symbolic link creation
As the fix would not be accepted.
The resolution to this issue should it occur is to delete the following folders in your clone and then reload unity.
- XRTK-CORE\Assets\XRTK.Examples
- XRTK-CORE\Assets\XRTK.Generated\Lumin
- XRTK-CORE\Assets\XRTK.Generated\Oculus
- XRTK-CORE\Assets\XRTK.Generated\SDK
- XRTK-CORE\Assets\XRTK.Generated\UltraLeap
- XRTK-CORE\Assets\XRTK.Generated\WindowsMixedReality
DO NOT deleted the BuildInfo folder or the existing Symlink asset file
Once reloaded you may have to reenable SymLink loading in Editor -> Preferences -> XRTK -> Autoload Symlinks
Alternatively, check your Git for WIndows configuration and disable automatic symlink, however, this will affect all projects that use git.