bad material assignation #43606

Closed
opened 2015-02-09 10:27:28 +01:00 by jimy-byerley · 10 comments

I detected some error in blender materials assignation : when a material is used by more of 3 objects, the game engine do some bugs. The blender game engine assign materials to bad objects. There is no problem in the 3d view, but the problem appear when I launch the game.

There is some exemple of these bugs :

in red zones, there is normaly blue lines
2015.2-0.png

in red zones, there is normaly blue lines
and the lights in green zones are normaly white
2015.2-4.png

2015.2-2.png

I detected some error in blender materials assignation : when a material is used by more of 3 objects, the game engine do some bugs. The blender game engine assign materials to bad objects. There is no problem in the 3d view, but the problem appear when I launch the game. There is some exemple of these bugs : in red zones, there is normaly blue lines ![2015.2-0.png](https://archive.blender.org/developer/F142051/2015.2-0.png) in red zones, there is normaly blue lines and the lights in green zones are normaly white ![2015.2-4.png](https://archive.blender.org/developer/F142053/2015.2-4.png) ![2015.2-2.png](https://archive.blender.org/developer/F142055/2015.2-2.png)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @jimy-byerley

Added subscriber: @jimy-byerley
Author

I forgotten to give you my work. My project is at GitHub : Tron-R

If I duplicate the material for each object, there is no more bug, but the problem stays.

I forgotten to give you my work. My project is at GitHub : [Tron-R ](https://github.com/jimy-byerley/Tron-R-reboot-reloaded-) If I duplicate the material for each object, there is no more bug, but the problem stays.
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

Hi Jimy-byerley,

Could you provide an easier blend file showing the error?

I did a quick test and I didn't find issues.

test.jpeg

test.blend

Hi Jimy-byerley, Could you provide an easier blend file showing the error? I did a quick test and I didn't find issues. ![test.jpeg](https://archive.blender.org/developer/F142371/test.jpeg) [test.blend](https://archive.blender.org/developer/F142373/test.blend)
Author

Here is an exemple from one of my project's file.
blender 3d view (object mode) which is correct
timereturner-1.png

blender game (GLSL mode) with bugs
timereturner-0.png

timereturner-bug.blend
Here is my exemple file (I couldn't upload with site's included tool)
Each object using textures named 'street' or 'time returner' or 'light line' are crazy, Objects using 'street.001' 'time returner.001', 'light line.001' are OK.

Here is an exemple from one of my project's file. blender 3d view (object mode) which is correct ![timereturner-1.png](https://archive.blender.org/developer/F142419/timereturner-1.png) blender game (GLSL mode) with bugs ![timereturner-0.png](https://archive.blender.org/developer/F142417/timereturner-0.png) [timereturner-bug.blend ](https://github.com/jimy-byerley/Tron-R-reboot-reloaded-/blob/master/sys/timereturner/timereturner-bug.blend) Here is my exemple file (I couldn't upload with site's included tool) Each object using textures named 'street' or 'time returner' or 'light line' are crazy, Objects using 'street.001' 'time returner.001', 'light line.001' are OK.
Member

Ok,

I see where is the issue. You have to apply the modifiers before start the game.
Note: Only a few modifiers are supported in real time.

If this solve your problems I will close the bug report.

Ok, I see where is the issue. You have to apply the modifiers before start the game. Note: Only a few modifiers are supported in real time. If this solve your problems I will close the bug report.
Author

Ok, It looks working. Tkank you very much !

Ok, It looks working. Tkank you very much !
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Jorge Bernal self-assigned this 2015-02-12 15:41:25 +01:00
Member

Closing the report.

Thanks for reporting.

Closing the report. Thanks for reporting.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#43606
No description provided.