Static meshes are invisible - UE4.17

Recently I removed the following lines from my DefaultEngine.ini file:
[OnlineSubsystem]
DefaultPlatformService=Null

After starting the engine, all the static meshes in my viewport became invisible, objects in the viewport were shaking heavily and everything was practically a mess

Believing that those lines in my DefaultEngine.ini file were the cause of everything I added them back, yet the issue still remained. The only difference was that in the Third Person Example map, everything was visible, but transparent.

Even in a new default level the issue occurs.

So far I have tried many things. I have changed the shader model from 5 to 4 and then again back to 5 which did not solve anything. I tried rebuilding the map which also solved nothing. I changed the meshes, and even the materials but only the materials with textures appeared visible from time to time after I built the map again but it did not fix the issue still. I even restarted my computer thinking it may solve it but that also failed

This is currently my DefaultEngine.ini file:

[URL] GameName=CuteShooter

[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Game/Maps/Default.Default
GameDefaultMap=/Game/Maps/Default.Default
TransitionMap= bUseSplitscreen=True
TwoPlayerSplitscreenLayout=Horizontal
ThreePlayerSplitscreenLayout=FavorTop
GlobalDefaultGameMode=/Game/Player/ThirdPersonGameMode.ThirdPersonGameMode_C
GlobalDefaultServerGameMode=None
GameInstanceClass=/Game/Player/Player_GameInstance.Player_GameInstance_C

[/Script/IOSRuntimeSettings.IOSRuntimeSettings]
MinimumiOSVersion=IOS_8

[/Script/Engine.Engine]
+ActiveGameNameRedirects=(OldGameName=“TP_ThirdPersonBP”,NewGameName=“/Script/CuteShooter”)
+ActiveGameNameRedirects=(OldGameName=“/Script/TP_ThirdPersonBP”,NewGameName=“/Script/CuteShooter”)
NearClipPlane=0.000000

[/Script/HardwareTargeting.HardwareTargetingSettings]
TargetedHardwareClass=Desktop
AppliedTargetedHardwareClass=Desktop
DefaultGraphicsPerformance=Maximum
AppliedDefaultGraphicsPerformance=Maximum

[/Script/Engine.RendererSettings]
r.ReflectionCaptureResolution=1024

[/Script/Engine.PhysicsSettings]
DefaultGravityZ=-980.000000
DefaultTerminalVelocity=4000.000000
DefaultFluidFriction=0.300000
SimulateScratchMemorySize=262144
RagdollAggregateThreshold=4
TriangleMeshTriangleMinAreaThreshold=5.000000
bEnableAsyncScene=False
bEnableShapeSharing=False
bEnablePCM=True
bEnableStabilization=False
bWarnMissingLocks=True
bEnable2DPhysics=False
LockedAxis=Invalid
DefaultDegreesOfFreedom=Full3D
BounceThresholdVelocity=200.000000
FrictionCombineMode=Average
RestitutionCombineMode=Average
MaxAngularVelocity=3600.000000
MaxDepenetrationVelocity=0.000000
ContactOffsetMultiplier=0.020000
MinContactOffset=2.000000
MaxContactOffset=8.000000
bSimulateSkeletalMeshOnDedicatedServer=True
DefaultShapeComplexity=CTF_UseSimpleAndComplex
bDefaultHasComplexCollision=True
bSuppressFaceRemapTable=False
bSupportUVFromHitResults=False
bDisableActiveActors=False
bDisableCCD=False
bEnableEnhancedDeterminism=False
MaxPhysicsDeltaTime=0.033333
bSubstepping=False
bSubsteppingAsync=False
MaxSubstepDeltaTime=0.016667
MaxSubsteps=6
SyncSceneSmoothingFactor=0.000000
AsyncSceneSmoothingFactor=0.990000
InitialAverageFrameRate=0.016667
PhysXTreeRebuildRate=10]

I do not know what caused the issue and neither do I know how to solve it, if this is a bug in the engine, then I hope it is fixed soon.

My problem was solved all of a sudden when starting the engine again, this was one weird bug.