Page 1 of 1

Error in object material reference

Posted: Tue Jan 21, 2020 1:20 pm
by marcatore
Hi guys,
I've this problem.
Blender2.82, Daily build downloaded today (21st of Jan).

I'm using a scene that was always working but today not.
when I press render I have this error in the console (render stop and don't continue).

RuntimeError: Syntax error in object material reference: 3776276560
ERROR: Syntax error in object material reference: 3776276560
Error: Syntax error in object material reference: 3776276560

After some try&tests I've isolated some collections that have some objects with different materials.
is there a way to identify which material is causing this error using that code (3776276560)?

thanks in advance

Re: Error in object material reference

Posted: Tue Jan 21, 2020 1:26 pm
by B.Y.O.B.
Can you upload the scene, or send it to me via PM?

Re: Error in object material reference

Posted: Tue Jan 21, 2020 1:55 pm
by marcatore
Sent a PM

Re: Error in object material reference

Posted: Tue Jan 21, 2020 2:44 pm
by B.Y.O.B.
Thanks, I'll look into it once I am done with another issue I'm currently working on.

Re: Error in object material reference

Posted: Tue Jan 21, 2020 3:00 pm
by marcatore
Thank you very much for your support.

Re: Error in object material reference

Posted: Wed Jan 22, 2020 9:41 am
by marcatore
meanwhile I've made other tests and I've found the reason.
I sent you a PM with some details.

I can't understand if I did something wrong or if it's a bug.

Re: Error in object material reference

Posted: Wed Jan 22, 2020 11:03 am
by B.Y.O.B.
This kind of message indicates a bug. When there's an error in the way the scene is set up, you would get a nicer message with explanation and an entry in the error log.

Re: Error in object material reference

Posted: Wed Jan 22, 2020 9:18 pm
by B.Y.O.B.
I have fixed the bug.

Re: Error in object material reference

Posted: Thu Jan 23, 2020 8:01 am
by marcatore
Thank you very much.
It's working!