Voxel cone tracing doesn't work on 4.4.0-beta 5
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Release Type: Beta
Version: 4.4.0-beta 5 (works on 4.3.0.2507 and previous versions)
Platform(s): Windows 11 25H2 26200.9168
Describe the bug
The scene does't render, instead it pops up the following error message:
Error: One or more errors occurred. (One or more errors occurred. (Error: The method or operation is not implemented.. System.NotImplementedException: The method or operation is not implemented.
at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.CompileHelper(SymbolTable table, CompilerUnit compiler) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 1286
at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.ProcessSymbol(SymbolTable table, SymbolType expectedType) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 780
at Stride.Shaders.Parsing.SDSL.AST.AssignExpression.ProcessSymbol(SymbolTable table, SymbolType expectedType) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 90
at Stride.Shaders.Parsing.SDSL.AST.ExpressionStatement.ProcessSymbol(SymbolTable table) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Statements.cs:line 36
at Stride.Shaders.Parsing.SDSL.AST.BlockStatement.ProcessSymbol(SymbolTable table) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Statements.cs:line 225
at Stride.Shaders.Parsing.SDSL.AST.ShaderMethod.ProcessSymbolBody(SymbolTable table, SpirvContext context) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/ShaderElements.MethodOrMember.cs:line 506
at Stride.Shaders.Parsing.SDSL.AST.ShaderClass.Compile(SymbolTable table, CompilerUnit compiler) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Shader.cs:line 616
at Stride.Shaders.Compilers.SDSL.SDSLC.Compile(String filename, String code, ObjectId hash, ReadOnlySpan`1 macros, ILogger log, ShaderBuffers& lastBuffer, CompileOptions options) in /_/sources/shaders/Stride.Shaders.Compilers/SDSL/SDSLC.cs:line 73))
To Reproduce
Steps to reproduce the behavior:
1.
Create a new project with Voxel Cone Tracing Forward renderer (Ensure to have the right deps: Stride.Voxels) and add a Voxel lightning.
Expected behavior & screenshoot
this result as we can see in the screenshoot, showing the ray bouncing into the sphere simulating a mirror effect.
instead, we got this in 4.4.0-beta 5:
Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)
Additional context
added project solution.
MyGame2.zip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the attached MyGame2 project using the Voxel Cone Tracing Forward renderer and Voxel lighting. Start at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.CompileHelper in sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs line 1286, then trace the reported symbol-processing calls; done means the scene renders on 4.4.0-beta 5 without the NotImplementedException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100