Closed GreaterThen0 closed 5 days ago
it started with the editor randomly stopped showing a .razor component.
now all my (.cs) custom components OnUpdate() won't run.
I have no errors in the console.
im not entirely sure.
OnUpdate() to run every frame.
No response
im on Windows 11 with a good computer
the only error I can find is in Visual Studio and I'm not sure if it is related.
Severity Code Description Project File Line Suppression State Details Error SB5000 Code Generator Crashed at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally)--- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) at Sandbox.Generator.RazorProcessor.ProcessPages(Processor processor) at Sandbox.Generator.Processor.Run(CSharpCompilation compilation, CSharpCompilation lastSuccessfulCompilation, ImmutableArray1 lastBeforeIlHotloadProcessingTrees) - One or more errors occurred. (Nullable object must have a value.) map_y C:\Users\haypu\OneDrive\Documents\s&box projects\map_y\Code\map_y.csproj 1 Active
1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action
2 bodyWithState, Func
1 localInit, Action
1 body, Action
4 bodyWithLocal, Func
1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable
1 body) at Sandbox.Generator.RazorProcessor.ProcessPages(Processor processor) at Sandbox.Generator.Processor.Run(CSharpCompilation compilation, CSharpCompilation lastSuccessfulCompilation, ImmutableArray
Had to make a new project and migrate stuff over to fix the problem
OnUpdate works. Not sure what happened for you
Describe the bug
it started with the editor randomly stopped showing a .razor component.
now all my (.cs) custom components OnUpdate() won't run.
I have no errors in the console.
To Reproduce
im not entirely sure.
Expected behavior
OnUpdate() to run every frame.
Media/Files
No response
Additional context
im on Windows 11 with a good computer
the only error I can find is in Visual Studio and I'm not sure if it is related.
Severity Code Description Project File Line Suppression State Details Error SB5000 Code Generator Crashed at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction
1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action
1 body, Action2 bodyWithState, Func
4 bodyWithLocal, Func1 localInit, Action
1 localFinally)--- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action1 body, Action
2 bodyWithState, Func4 bodyWithLocal, Func
1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable
1 source, Action1 body) at Sandbox.Generator.RazorProcessor.ProcessPages(Processor processor) at Sandbox.Generator.Processor.Run(CSharpCompilation compilation, CSharpCompilation lastSuccessfulCompilation, ImmutableArray
1 lastBeforeIlHotloadProcessingTrees) - One or more errors occurred. (Nullable object must have a value.) map_y C:\Users\haypu\OneDrive\Documents\s&box projects\map_y\Code\map_y.csproj 1 Active