unity-renderer icon indicating copy to clipboard operation
unity-renderer copied to clipboard

Remove all warnings on a clean project run

Open eordano opened this issue 2 years ago • 2 comments

eordano avatar Feb 07 '23 14:02 eordano

  • Many sprites from the Social/Friends features are duplicated image.png

  • DOTween capacity is set from 200 to 500 -- are we using that many Tween instances? What for? image.png

  • Unknown DisposableComponents Ck and C6z. Where do they come from? image.png

  • Genesis plaza: removing entities that don't exist: image.png

  • Asset Bundles are trying to get loaded even when on Unity Editor/Windowsimage.png

  • Ck and C6z disposableComponents get called many multiple times.

  • "oldWrappedTime" and "newWrappedTime" problems with avatars image.png

eordano avatar Feb 07 '23 15:02 eordano


Assets\Scripts\MainScripts\DCL\WorldRuntime\SceneBoundariesController\SceneBoundsChecker.cs(83,37): warning CS0162: Unreachable code detected

Assets\Scripts\MainScripts\DCL\WorldRuntime\SceneBoundariesController\SceneBoundsChecker.cs(117,25): warning CS0162: Unreachable code detected

Assets\Scripts\MainScripts\DCL\WorldRuntime\Debugging\Panels\MiscBenchmarkController.cs(116,22): warning CS0414: The field 'MiscBenchmarkController.budgetMax' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\WorldRuntime\Messaging\MessageDecoder.cs(20,20): warning CS0414: The field 'MessageDecoder.transformCount' is assigned but its value is never used

Assets\DCLPlugins\ECS7\ComponentCrdtWriteSystem\Tests\ComponentCrdtWriteSystemShould.cs(84,18): warning CS0219: The variable 'timeStamp' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\Controllers\LoadingScreen\Scripts\LoadingScreenTipsController.cs(82,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Assets\Scripts\MainScripts\DCL\WorldRuntime\KernelCommunication\RPC\Services\SceneControllerService\Tests\SceneControllerServiceShould.cs(69,55): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Assets\Scripts\MainScripts\DCL\WorldRuntime\KernelCommunication\RPC\Services\SceneControllerService\Tests\SceneControllerServiceShould.cs(268,17): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Assets\Scripts\MainScripts\DCL\WorldRuntime\KernelCommunication\RPC\Services\SceneControllerService\Tests\SceneControllerServiceShould.cs(340,17): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Assets\DCLPlugins\ECS7\Tests\ECS7HotReload.cs(102,58): warning CS0612: 'CRDTManyMessages' is obsolete

Assets\DCLPlugins\ECS7\Tests\ECS7HotReload.cs(132,58): warning CS0612: 'CRDTManyMessages' is obsolete

Assets\Scripts\MainScripts\DCL\Controllers\Scene\Main\Main.cs(174,37): warning CS0612: 'RenderProfileBridge' is obsolete

Assets\Scripts\Tests\TestSceneIntegrityChecker.cs(84,21): warning CS0162: Unreachable code detected

Assets\Scripts\Tests\TestSceneIntegrityChecker.cs(91,17): warning CS0162: Unreachable code detected

Assets\Scripts\Tests\TestUtils.cs(63,13): warning CS0618: 'IWebRequestController.Get(string, DownloadHandler, Action<IWebRequestAsyncOperation>, Action<IWebRequestAsyncOperation>, int, int, bool, Dictionary<string, string>)' is obsolete: 'WebRequestController Get method is deprecated, please use the GetAsync method instead.'

Assets\Scripts\Tests\TestUtils.cs(74,47): warning CS0618: 'IWebRequestController.Get(string, DownloadHandler, Action<IWebRequestAsyncOperation>, Action<IWebRequestAsyncOperation>, int, int, bool, Dictionary<string, string>)' is obsolete: 'WebRequestController Get method is deprecated, please use the GetAsync method instead.'

Assets\Scripts\MainScripts\DCL\Controllers\HUD\FriendsHUD\Tests\FriendsHUDControllerShould.cs(11,7): warning CS0105: The using directive for 'System.Threading' appeared previously in this namespace

Assets\Scripts\MainScripts\DCL\Controllers\HUD\FriendsHUD\Tests\JumpInButtonShould.cs(144,14): warning CS0219: The variable 'jumpInCalled' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\WorldRuntime\PhysicsCast\Tests\PhysicsCastTest.cs(22,10): warning CS0414: The field 'PhysicsCast_Tests.alreadyInitialized' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\ChatWidgetHUD\Tests\ChatHUDControllerShould.cs(176,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Assets\Scripts\MainScripts\DCL\Controllers\HUD\ChatWidgetHUD\Tests\ChatHUDControllerShould.cs(165,18): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Assets\Scripts\Tests\VisualTests\VisualTestUtils.cs(120,51): warning CS0618: 'QualityLevel' is obsolete: 'See QualitySettings.names, QualitySettings.SetQualityLevel, and QualitySettings.GetQualityLevel'

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(11,25): warning CS0067: The event 'PrivateChatWindowMock.OnClose' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(11,33): warning CS0067: The event 'FriendsHUDWindowMock.OnFriendRequestSent' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(7,25): warning CS0067: The event 'WorldChatWindowViewMock.OnClose' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(9,25): warning CS0067: The event 'SearchChannelsWindowMock.OnClose' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(8,33): warning CS0067: The event 'WorldChatWindowViewMock.OnOpenPrivateChat' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(13,33): warning CS0067: The event 'SearchChannelsWindowMock.OnLeaveChannel' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(15,25): warning CS0067: The event 'PrivateChatWindowMock.OnRequireMoreMessages' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(8,50): warning CS0067: The event 'FriendsHUDWindowMock.OnFriendRequestApproved' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(12,33): warning CS0067: The event 'PrivateChatWindowMock.OnUnfriend' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(14,33): warning CS0067: The event 'FriendsHUDWindowMock.OnDeleteConfirmation' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(8,25): warning CS0067: The event 'SearchChannelsWindowMock.OnBack' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(14,25): warning CS0067: The event 'PrivateChatWindowMock.OnClickOverWindow' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PublicChatPublicWindowMock.cs(9,31): warning CS0067: The event 'PublicChatPublicWindowMock.OnMuteChanged' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(12,25): warning CS0067: The event 'WorldChatWindowViewMock.OnOpenChannelSearch' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(9,25): warning CS0067: The event 'PrivateChatWindowMock.OnPressBack' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(13,31): warning CS0067: The event 'PrivateChatWindowMock.OnFocused' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(12,33): warning CS0067: The event 'SearchChannelsWindowMock.OnJoinChannel' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(13,43): warning CS0067: The event 'FriendsHUDWindowMock.OnWhisper' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PublicChatPublicWindowMock.cs(8,25): warning CS0067: The event 'PublicChatPublicWindowMock.OnBack' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(19,25): warning CS0067: The event 'FriendsHUDWindowMock.OnFriendListDisplayed' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(9,50): warning CS0067: The event 'FriendsHUDWindowMock.OnCancelConfirmation' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(10,33): warning CS0067: The event 'SearchChannelsWindowMock.OnSearchUpdated' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(9,33): warning CS0067: The event 'WorldChatWindowViewMock.OnOpenPublicChat' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(14,25): warning CS0067: The event 'WorldChatWindowViewMock.OnCreateChannel' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(11,25): warning CS0067: The event 'SearchChannelsWindowMock.OnRequestMoreChannels' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(12,33): warning CS0067: The event 'FriendsHUDWindowMock.OnFriendRequestOpened' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(13,33): warning CS0067: The event 'WorldChatWindowViewMock.OnLeaveChannel' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(15,25): warning CS0067: The event 'WorldChatWindowViewMock.OnSignUp' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PublicChatPublicWindowMock.cs(7,25): warning CS0067: The event 'PublicChatPublicWindowMock.OnClose' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(16,25): warning CS0067: The event 'WorldChatWindowViewMock.OnRequireWalletReadme' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(10,33): warning CS0067: The event 'WorldChatWindowViewMock.OnSearchChatRequested' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(20,25): warning CS0067: The event 'FriendsHUDWindowMock.OnRequestListDisplayed' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(10,25): warning CS0067: The event 'PrivateChatWindowMock.OnMinimize' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(15,33): warning CS0067: The event 'SearchChannelsWindowMock.OnOpenChannel' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\SearchChannelsWindowMock.cs(14,25): warning CS0067: The event 'SearchChannelsWindowMock.OnCreateChannel' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(16,25): warning CS0067: The event 'FriendsHUDWindowMock.OnRequireMoreFriends' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(18,33): warning CS0067: The event 'FriendsHUDWindowMock.OnSearchFriendsRequested' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(15,25): warning CS0067: The event 'FriendsHUDWindowMock.OnClose' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(17,25): warning CS0067: The event 'FriendsHUDWindowMock.OnRequireMoreFriendRequests' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\FriendsHUDWindowMock.cs(10,50): warning CS0067: The event 'FriendsHUDWindowMock.OnRejectConfirmation' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\WorldChatWindowViewMock.cs(11,25): warning CS0067: The event 'WorldChatWindowViewMock.OnRequireMorePrivateChats' is never used

Assets\Scripts\MainScripts\DCL\Controllers\HUD\TaskbarHUD\Tests\PrivateChatWindowMock.cs(24,18): warning CS0414: The field 'PrivateChatWindowMock.isDestroyed' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\Components\UI\UIText\Tests\UITextTests.cs(42,28): warning CS0618: 'TMP_Text.enableWordWrapping' is obsolete: 'The enabledWordWrapping property is now obsolete. Please use the textWrappingMode property instead.'

Assets\Scripts\MainScripts\DCL\Components\UI\UIText\Tests\UITextTests.cs(89,27): warning CS0618: 'TMP_Text.enableWordWrapping' is obsolete: 'The enabledWordWrapping property is now obsolete. Please use the textWrappingMode property instead.'

Assets\Scripts\MainScripts\DCL\Controllers\AssetManager\PrimitiveMesh\Tests\APK_PrimitiveMesh_ShouldWorkWhen.cs(103,18): warning CS0219: The variable 'calledFail' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\Controllers\AssetManager\Texture\Tests\APK_Texture_Promise_Should.cs(127,27): warning CS0219: The variable 'loadedAsset' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\SceneLifecycleHandlerShould.cs(20,21): warning CS0114: 'SceneLifecycleHandlerShould.SetUp()' hides inherited member 'IntegrationTestSuite.SetUp()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\SceneLifecycleHandlerShould.cs(33,21): warning CS0114: 'SceneLifecycleHandlerShould.TearDown()' hides inherited member 'IntegrationTestSuite.TearDown()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\EntityIdHelperShould.cs(69,16): warning CS0219: The variable 'legacyEntityId4' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithBasicMaterial_SceneMetricsCounterShould.cs(26,9): warning CS0618: 'DataStore_WorldObjects_Extensions.AddExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithBasicMaterial_SceneMetricsCounterShould.cs(45,9): warning CS0618: 'DataStore_WorldObjects_Extensions.RemoveExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithGltfShape_SceneMetricsCounterShould.cs(16,9): warning CS0618: 'DataStore_WorldObjects_Extensions.AddExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithPbrMaterial_SceneMetricsCounterShould.cs(16,9): warning CS0618: 'DataStore_WorldObjects_Extensions.AddExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithPbrMaterial_SceneMetricsCounterShould.cs(26,9): warning CS0618: 'DataStore_WorldObjects_Extensions.RemoveExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithParametrizedShape_SceneMetricsCounterShould.cs(117,9): warning CS0618: 'DataStore_WorldObjects_Extensions.AddExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithParametrizedShape_SceneMetricsCounterShould.cs(136,9): warning CS0618: 'DataStore_WorldObjects_Extensions.RemoveExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\SceneTests.cs(176,16): warning CS0219: The variable 'loadedSceneID' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithTexture_SceneMetricsCounterShould.cs(255,9): warning CS0618: 'DataStore_WorldObjects_Extensions.AddExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\WithTexture_SceneMetricsCounterShould.cs(274,9): warning CS0618: 'DataStore_WorldObjects_Extensions.RemoveExcludedOwner(DataStore_WorldObjects, int, long)' is obsolete: 'This feature is only used by the SmartItem component and will have to be deprecated on the future. Please don't use it.'

Assets\Scripts\MainScripts\DCL\WorldRuntime\Tests\SceneTests.cs(190,16): warning CS0219: The variable 'loadedSceneID' is assigned but its value is never used

Assets\Scripts\MainScripts\DCL\Components\UI\UIScrollRect\Tests\UIScrollRectVisualTests.cs(62,22): warning CS0108: 'UIScrollRectVisualTests.Mock_UIInputTextModel.fontSize' hides inherited member 'UIInputText.Model.fontSize'. Use the new keyword if hiding was intended.

Assets\Scripts\MainScripts\DCL\Components\UI\UIInputText\Tests\UIInputTextVisualTests.cs(53,22): warning CS0108: 'UIInputTextVisualTests.Mock_UIInputTextModel.fontSize' hides inherited member 'UIInputText.Model.fontSize'. Use the new keyword if hiding was intended.

Method DCL.Skybox.SkyboxEditorWindow.Init is not static and cannot be used for menu commands.
UnityEditor.MenuService:GetMenuItemsFromAttributes ()

eordano avatar Feb 07 '23 15:02 eordano