Skip to content

NextJS Versions Broken: 0.155.0 Onwards #3003

@SaavanNanavati

Description

@SaavanNanavati
  1. Run yarn create r3f-app next my-app which is the starter kit for react three fiber with NextJS.
  2. Change the version of three from ^0.154.0 to ^0.155.0.

Before: 0.154.0 (Working)
Screenshot 2023-09-11 at 1 08 14 PM

After: 0.155.0 (Broken)
Screenshot 2023-09-11 at 1 07 47 PM

ThreeJS is currently on 0.156.1. I did some debugging to determine that 0.155.0 is the version that breaks the react three fiber demo with NextJS. I'm not even sure what is the bug here, it looks like some textures aren't loading or something?

I don't know if this is a bug with three or a bug with react-three-fiber, I'm honestly not very familiar with the libraries as this is my first time working with them. I just figured I would report it in case the team isn't already aware since the support for NextJS seems rather exceptional otherwise. Really awesome library!

Thanks,
Saavan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions