Skip to content

Voxel cone tracing doesn't work on 4.4.0-beta 5 #3374

Description

@meriaizen86

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.
Image

instead, we got this in 4.4.0-beta 5:

MyGame2.zip

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions